Linux Unable to Write to Directory Despite Permissions
- by Nick Q.
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.