[CentOS] Permissions problem

Marko A. Jennings markobiz at bluegargoyle.com
Thu Mar 4 19:15:16 UTC 2010

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' ?


More information about the CentOS mailing list