View Single Post
Old 24th November 2006, 20:26
Hans Hans is offline
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts


sudo chown -R www-data:www-data rra
sudo chown -R www-data:www-data logs

With these command you give Apache write permissions to the selected directories.
It is more save then chmod 777 for instance.


www-data:www-data is for Debian Linux.

Replace www-data:www-data with apache:apache for RedHat like systems.
(RHEL, CentOS & Fedora).

Replace www-data:www-data with www:www for Suse Linux.

MrHostman | Managed Hosting

Last edited by Hans; 24th November 2006 at 21:40.
Reply With Quote