View Single Post
  #4  
Old 24th November 2006, 19:26
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 210
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Explanation:

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.

Note:

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.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

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