Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I believe that I have the permissions set correctly but I can't write to a directory. Here's my problem:

cborders@Kraken:/var/www$ ls -la
total 12
drwxrwxr-x  2 webz webz 4096 2011-12-30 14:58 ./
drwxr-xr-x 13 root root 4096 2011-12-30 14:58 ../
-rw-rw-r--  1 webz webz  177 2011-12-30 14:58 index.html

cborders@Kraken:/var/www$ id cborders
uid=1000(cborders) gid=1000(cborders) groups=1000(cborders),4(adm),20(dialout),24(cdrom),46(plugdev),109(sambashare),113(lpadmin),114(admin),1002(webz)

cborders@Kraken:/var/www$ mkdir test
mkdir: cannot create directory `test': Permission denied

The owner of the directory is a user called webz and the permissions allow the user and group rwx access to it. I am in the webz group but I still can't make any changes. What am I doing wrong here?

share|improve this question
1  
Did you remember to relogin after adding yourself to webz? I've bitten myself that way a number of times. –  Eroen Mar 29 '12 at 20:07
    
Eroen, NO! I didn't! Thank you! If you post this as an answer I'll accept it! –  CaseyB Mar 29 '12 at 20:08
    
possible duplicate of Linux Group Permissions –  grawity Mar 29 '12 at 21:07

1 Answer 1

up vote 3 down vote accepted

Did you remember to relogin after adding yourself to webz? I've bitten myself that way a number of times.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.