[Top][All Lists]

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

Re: group permissions on parts of a module

From: Todd Denniston
Subject: Re: group permissions on parts of a module
Date: Thu, 05 Aug 2004 07:39:29 -0500

Joseph Shraibman wrote:
> OK I have the checkout problem solved.  Now the problem is that
> checkouts of certain files are failing because "Permission denied".
> These files are owned by a group that the user is a member of, but not
is the _directory_ readable by his group and/or world?
the files should either be -r--r--r-- or -r--r-----.
directories should be drwxrwsr-x or drwxr-sr-x and should be owned by the
correct user and group.
see  "2.2.2 File permissions" [1], and I would suggest reading all of " 2.2
How data is stored in the repository" [2]
> the default group.  Is there any way to get cvs to be smart about this
> and change its own gid?
the directory permissions should be setgid.
for example here is the repo where I keep some tools for setting up version
drwxr-sr-x    3 username staff     4096 Apr 27 15:45 CM_TOOLS/
and here is where the locks for that repo go.
drwxrwxrwx    3 username staff     4096 Feb  2  2004 LocksGoHere/
I want to be the only one making changes to the repo (granted I probably would
not need to set the permissions on this repo to make that true...but), however
I want anyone in our group to be able to check out a copy for setting up their
own repos.
`find $REPO -type d|xargs chown username:group` 
`find $REPO -type d|xargs chmod o-w` 
`find $REPO -type d|xargs chmod g+-ws`  or similar are your friends.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

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