Permission denied
This is the easiest way to tell my problem ;)
Code:
# groups Code:
# ls -la /var/www/ Code:
# mkdir /var/www/testdir |
su -c "chmod g+w /var/www"
|
Quote:
Can you just explain what i did ? |
su -c "chmod g+w /var/www"
su -c "command" means execute "command" as super user. This is needed because only root has permission to modify the var directory. chmod changes the permissions of files/directories g+w means 'group add writable' - allowing all users in the group www-data to modify the contents of the directory. Does that help explain it? |
Quote:
drwxr-xr-x 3 www-data www-data 4096 Apr 16 22:27 . The group don't have write permissions |
All times are GMT -5. The time now is 03:50 AM. |