I use Ubuntu 12.04. I am trying to add the user gefalko
to the www-data
group. I use
root@xxx~# usermod -a -G www-data gefalko
If I understand correctly, I should now see www-data
in the output of groups
when run by gefalko:
gefalko@xxx:~$ groups
However, there is no www-data in the output:
gefalko adm cdrom sudo dip plugdev lpadmin sambashare
I want to edit index.php
owned by www-data, but I can't (permission denied):
gefalko@xxx:/var/www/html/projectx$ ls -l
total 1320
...
-rwxrwxr-x 1 www-data www-data 1613 Bal 18 10:18 index.php
...