bug-cvs
[Top][All Lists]
Advanced

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

CVS file permissions problems


From: Ruben Diez
Subject: CVS file permissions problems
Date: Tue, 6 Apr 2004 16:40:34 +0100

Hi again:

I just wasted considerable time installing CVS because of file-permission
issues. I must admit I'm no expert, but I feel more can be done in the
manual to help the likes of me busy people.

In my pserver CVS system, I'm user "rdiez", and Linux has automatically
created an "rdiez" group too. I'm also a member of the cvs_repos_users
group.

Whenever I check anything in, CVS changes the ,v file so that it's owned by
me, but it also changes the ,v file group, something I didn't expect. So I
ended up with this:

ls -la  blah_blah/my_dir
 -rwxrwx---  1 root   cvs_repos_users  37316 Apr  1 17:50 my_lovely_file,v*
 -rwxrwx---  1 rdiez  rdiez             8548 Apr  1 17:50
I_just_checked_in_a_change.h,v*

The key thing missing from the manual is that other CVS users, even if they
are members of the cvs_repos_users group, need at least read access to file
"I_just_checked_in_a_change.h,v" in order to check in further changes, or
even to "cvs update" on them.

This is despite the fact that my_dir's permissions look like this:

 drwxrwx---    5 root     cvs_repos_users     4096 Apr  2 14:03 ./

Why CVS has to change the file's group is beyond me. But at least if it's
documented more clearly it would help.

Thanks a lot, and keep up the good work,
  Ruben





reply via email to

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