What am I doing wrong here? I need to be able to write to /var/cvs. This used to work before I moved these groups into an LDAP directory instead of /etc/group: [scarolan at watcher:/var/cvs]$ touch test.txt touch: cannot touch `test.txt': Permission denied [scarolan at watcher:/var/cvs]$ ls -ld drwxrwsr-x 4 cvs cvsgrp 4096 May 18 2008 . [scarolan at watcher:/var/cvs]$ id scarolan uid=4002(scarolan) gid=4002(scarolan) groups=10000(operations),10001(cvsgrp),4002(scarolan)
On Thu, March 4, 2010 2:00 pm, Sean Carolan wrote:> What am I doing wrong here? I need to be able to write to /var/cvs. > This used to work before I moved these groups into an LDAP directory > instead of /etc/group: > > [scarolan at watcher:/var/cvs]$ touch test.txt > touch: cannot touch `test.txt': Permission denied > > [scarolan at watcher:/var/cvs]$ ls -ld > drwxrwsr-x 4 cvs cvsgrp 4096 May 18 2008 . > > [scarolan at watcher:/var/cvs]$ id scarolan > uid=4002(scarolan) gid=4002(scarolan) > groups=10000(operations),10001(cvsgrp),4002(scarolan)One possibility is that test.txt already exists in that directory and that the group cvsgrp does not have write permissions to it. What is the output of 'ls -l /var/cvs/test.txt' ? Marko
On Thu, Mar 4, 2010 at 2:00 PM, Sean Carolan <scarolan at gmail.com> wrote:> What am I doing wrong here? ?I need to be able to write to /var/cvs. > This used to work before I moved these groups into an LDAP directory > instead of /etc/group:You might want to check that the cvsgrp group ID in /etc/group matches the one in LDAP.
On Thu, 2010-03-04 at 14:52 -0500, Kwan Lowe wrote:> On Thu, Mar 4, 2010 at 2:00 PM, Sean Carolan <scarolan at gmail.com> wrote: > > What am I doing wrong here? I need to be able to write to /var/cvs. > > This used to work before I moved these groups into an LDAP directory > > instead of /etc/group: > > You might want to check that the cvsgrp group ID in /etc/group matches > the one in LDAP.---- having a group with the same name in both /etc/group and LDAP groups would be the surest path to insanity. Likewise, for /etc/passwd and LDAP users. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.