Linux Unable to Write to Directory Despite Permissions
Posted
by
Nick Q.
on Server Fault
See other posts from Server Fault
or by Nick Q.
Published on 2011-03-15T19:06:45Z
Indexed on
2012/04/06
5:31 UTC
Read the original article
Hit count: 473
I'm trying to give myself permissions to /var/www/ however for some reason I am unable to do so. Currently what I'm facing is this:
nick@server1:/var$ ls -l
drwxrwxr-x 5 root wwwusers 232 Mar 15 19:31 www
nick@server1:/var$ groups
nick wwwusers
nick@server1:/var$ mkdir www/trying
mkdir: cannot create directory `www/trying': Permission denied
I am running Ubuntu 10.04 LTS on a VPS and am used to running unix on my own machine so I may be doing something absolutely stupid, but I would like to be able to have the group wwwusers be able to write to www.
© Server Fault or respective owner