Hi people, here I am with another "strange" permissions problem.
Take a look at the following:
Code:
rulemaker@desktop ~ $ whoami
rulemaker
rulemaker@desktop ~ $ groups rulemaker
rulemaker adm dialout cdrom www-data plugdev lpadmin admin sambashare
rulemaker@desktop ~ $ ls -l /var/www/index.html
-rw-rwxr-- 1 www-data www-data 0 2009-09-21 19:47 /var/www/index.html
rulemaker@desktop ~ $ echo "test" > /var/www/index.html
bash: /var/www/index.html: Permission denied
How come that I don't have permissions to write in that file when I am in www-data group?
Damn, I had to restart my PC and it solved the problem (it's probably because I've just added myself to that group).
Bookmarks