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