On Sep 28, 3:06 pm, Todd Denniston <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote, On 09/28/2007 12:52 PM: > > > Let me rephrase that. How do I set up the permissions so that the new > > files and directories added by all the users in the group > > will be owned by the cvs userid? > > > Aaron Hirshberg > > You don't need (or even really want) to set the user id. > > What you want to make sure is being set and propagated correctly is the group > id on the files and directories[1]. With Linux servers that for me[2] > generally means running: > chown :projgroup myrepodir/ > chmod g+rws myrepodir > when you start a new project, or if you are doing it late > chown --recursive :projgroup myrepodir/ > chmod --recursive g+r myrepodir > chmod g+rws myrepodir > find myrepodir -type d|xargs chmod g+rws > Assuming I have recalled correctly. > > This also assumes that your "cvs" user is in a Unix group with all the rest of > your developers, and if you are not using pserver you don't even need that cvs > user. > > [1] see the first paragraph > ofhttp://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_2.html#SEC13 > [2]http://ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#Why_are_new_files... > > Hope this helps > -- > Todd Denniston > Crane Division, Naval Surface Warfare Center (NSWC Crane) > Harnessing the Power of Technology for the Warfighter
Thank you sir. The words I wanted to here were > You don't need (or even really want) to set the user id. The group stuff has already been taken care of. Aaron Hirshberg
