Joseph Shraibman wrote: > <SNIP> > 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 control: 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/ reasoning: 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.
[1] https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC13 [2] https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC11 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs