I'm using SSH with CVS.  Everything worked yesterday, but today when ever a user 
commits a file somehow the file's permissions are changed on the server to the user 
who commited.  Like so:
 
[server] $ ls -l 
 
-rwxrwx---    1 frodo    users         765 Jul 25 14:24 newt.txt,v
 
From the above you can see that newt.txt,v is assigned to the "users" group.  However, 
when user "frodo" commits a change:
 
cvs commit -m "frodo's change"
 
The permissions for newt.txt,v on the server are changed to the "frodo" group:
 
[server] $ ls -l
 
-rwxrwx---    1 frodo    frodo         929 Jul 25 14:50 newt.txt,v
 
 
Now if any other CVS user wants to update the code, I have to SSH to the CVS server 
and change the group permissions back to "users".
 
Any ideas on what could be causing this?
 
Best,
 
tony

        -----Original Message----- 
        From: [EMAIL PROTECTED] on behalf of Andrew Jorgensen 
        Sent: Fri 7/25/2003 2:11 PM 
        To: Newbie Help 
        Cc: 
        Subject: Re: [newbies] directory permissions/ CVS problem
        
        

        So, what kind of server do you mean, a pserver? In many cases it's a
        good idea to just do CVS over SSH. I guess there's even another kind of
        server isn't there?
        
        If I understand you right, the solution has something to do with what
        user the pserver is running as. I'm really not sure beyond that.
        
        Tony Vance wrote:
        
        > Hi,
        > 
        > I am setting up a CVS server, and have set a group "users" to have 
read/write/execute permissions for the CVS directory (CVSROOT), /usr/src/cvs.  To do 
this, I did:
        > 
        > chgrp -R users /usr/src/cvs
        > chmod -R 770 /usr/src/cvs
        > 
        > However, when I use CVS to create a new directory off of /usr/src/cvs, e.g. 
/usr/src/cvs/example, the users group doesn't have permissions for the new 
/usr/src/cvs/example directory. 
        > 
        > How do I set the users group to have read/write/execute permissions for any 
subdirectors that may be created under /usr/src/cvs?
        > 
        > Thanks!
        > 
        > Best,
        > 
        > Tony
        

<<winmail.dat>>

_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to