info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Question on repository file permissions


From: Fouts Christopher (6452)
Subject: RE: Question on repository file permissions
Date: Thu, 8 Apr 2004 12:58:53 -0400

Thanks to all!

-chris

-----Original Message-----
From: address@hidden [mailto:address@hidden 
Sent: Thursday, April 08, 2004 12:43 PM
To: Fouts Christopher (6452)
Cc: address@hidden
Subject: Re: Question on repository file permissions 


References:
<address@hidden>
From: "Mark D. Baushke" <address@hidden>
X-Mailer: MH-E 7.4.3+cvs; nmh 1.0.4; GNU Emacs 21.1.1
X-Face:
#8D_6URD2G%vC.hzU<dI&#Y9szHj$'mGtUq&d=rXy^L$-=G_-LmZ^5!Fszk:yXZp$k\nTF?
 
8Up0!v/%1Q[(d?ES0mQW8dRCXi18gK)luJu)loHk,}4{Vi`yX?p?crF5o:LL{6#eiO:(E:YMxLXU
LB
 k|'a*EjN.B&L+[J!PhJ*aX0n:5/
Mail-Followup-To: info-cvs <address@hidden>,address@hidden
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 08 Apr 2004 09:42:51 -0700
Message-ID: <address@hidden>
Sender: address@hidden

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fouts Christopher (6452) <address@hidden> writes:

> I have a "sample" project with r-s permissions for g and o.
> I have dir1/file1 directory/file in the project, which user  cvsadmin 
>in the cvs group, created. so now file1 has
> r--r--r-- permissions.=20
>=20
> I have a separate lock direcotry, called /cvsroot/lockDir  with 
>rwxrwsrwx permissions. =20
> Now user1 in group user checks out sample and modifies
> file1. When user1 checks in file1, it gets
> "Could not open file /cvsroot/sample/dir1/file1, permission denied."
>=20
> I fixed it by chmod -R o+w /cvsroot/sample. I thought the idea
> behind the LockDir was for me (cvs admin) NOT to have to do this?

The idea behind LockDir is to allow folks to do read-only checkouts of files
that they may not normally be allowed to commit as well as to allow for
performance improvements of a very fast in-memory filesystem for the
LockDir.

There are multiple reasons that a LockDir might be desirable including that
this may be a read-only mirror of the main cvs repository that is being
updated via CVSup or some other similar mechanism or that the filesystem is
very slow for writes and an in-memory filesystem is available to deal with
cvs locks.

If you want a given user to be able to commit, you still need for the
directories to have appropriate permissions as the new ,foo, file must still
be created within the repository and then renamed as foo,v for each commit
or tag operation.

Reread http://www.cvshome.org/docs/manual/cvs-1.11.6/cvs_18.html

        -- Mark
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAdYEL3x41pRYZE/gRAjBHAKDDgn/+/8/cUgaZv9dH5wft18MceQCdEeRP
JXvVXAgA0R8tpRp8GXEBcjM=3D
=3DD4SI
=2D----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]