Beast
Former Camp Beast
Offline
Ok, I feel like a total linux noob (which I'm not), but I'm having issues being able to create files in /var/www/..
I installed the LAMP stack via 'tasksel' which installed Apache2, PHP, and MySQL.. Apache is running as 'www-data', and I've set /var/www as the 'www-data' home directory.. It is owned by 'www-data' with the default group as 'www-data'.. I've given group write permissions to /var/www and every directory below it (chmod -R 775 /var/www)..
I've added my username ('bryan') to the 'www-data' group, so in theory, I should be able to create files in /var/www/.. But I can't..
Anyone think of a reason why this isn't working?
I installed the LAMP stack via 'tasksel' which installed Apache2, PHP, and MySQL.. Apache is running as 'www-data', and I've set /var/www as the 'www-data' home directory.. It is owned by 'www-data' with the default group as 'www-data'.. I've given group write permissions to /var/www and every directory below it (chmod -R 775 /var/www)..
I've added my username ('bryan') to the 'www-data' group, so in theory, I should be able to create files in /var/www/.. But I can't..
Anyone think of a reason why this isn't working?
Code:
bryan@beast:/var/www$ groups bryan
bryan www-data
bryan@beast:/var/www$ ls -al
total 16
drwxrwxr-x 3 www-data www-data 4096 2009-02-15 22:34 .
drwxr-xr-x 16 root root 4096 2009-02-16 14:03 ..
drwxrwxr-x 9 www-data www-data 4096 2009-02-15 22:44 htdocs
-rwxrwxr-x 1 www-data www-data 45 2009-02-15 22:24 index.html
bryan@beast:/var/www$