[lug] Permissions

Hugh Brown hugh at math.byu.edu
Thu Jan 11 06:56:06 MST 2007


Daniel Webb wrote:
> Ok, I know there's something really obvious that I'm going to slap myself for
> missing, but what?
> 
> $ cd /var/lib/subversion/mydocs/db/transactions
> 
> $ groups
> <...> svn <...>
> 
> $ ls -al
> total 8
> drwxrwsr-x 2 root svn 4096 2006-12-16 17:47 .
> drwxrwsr-x 5 root svn 4096 2006-12-16 17:47 ..
> 
> $ touch test
> touch: cannot touch `test': Permission denied
> 
> $ sudo chmod o+w .
> 
> $ touch test
> <no problem>


what about "newgrp svn" and then "touch test"

also, does "test" already exist (with restrictive perms)?

if the first <...> from groups is more than 255 chars, you have to use 
newgrp to get the system to accept your membership to that group



More information about the LUG mailing list