CVS Import Permissions

david bryce davidbryce at fastmail.fm
Sun Jan 29 20:53:06 PST 2006


Hi All,

I am having some confusion regarding the way CVS works with permissions
under unix when importing a new project. Currently, when I import a
project, I get this sort of permissions on the project directory:

drwxr-x---  2 jim   cvs   512 Jan 27 12:31 test_proj

Notice that the group (cvs) is not granted write access. Is this the way
it's supposed to work? Do I have to use chmod to grant write access to
the group every time I do an import? Or is my CVS not configured 
correctly?

If I don't grant write access to the group on that directory, every 
check in fails with a "could not open lock file
`/usr/local/cvs/test_proj/,test.txt,': Permission denied". I tried
setting the LockDir in the config file to a world-writable directory, 
but this doesn't seem to solve the problem when trying to check-in. 
Thank you!

Regards,

DB 
-- 
  david bryce
  davidbryce at fastmail.fm

-- 
http://www.fastmail.fm - mmm... Fastmail...



More information about the freebsd-questions mailing list