فتحات العرب Joomla! • Index page: Installation Joomla! 3.x • Re: Joomla install on Centos 7 directory permission is unwri

Wednesday, October 15, 2014

Installation Joomla! 3.x • Re: Joomla install on Centos 7 directory permission is unwri

The previous commands told will do nothing to resolve your issues.



Try the below commands before the root of your apache to correct rights and ownership:



Get ownership information from command below:

# sudo egrep -i '^user|^group' /etc/httpd/conf/httpd.conf # where ever your apache.conf or httpd.conf if located. On CentOS I believe it's apache:apache owner but double check!



# pwd

/var

# sudo chown -R www-data:www-data www

or

# sudo chown -R www-data:www-data /var/www





This will recursively change and correct apache ownership if the owner is www-data which it usually is on your distro type or apache:apache. Verify ownership from your apache configuration.



Then run this to correct all file rights:



# sudo find /var/www -type f -exec chmod 644 {} \;

# sudo find /var/www -type d -exec chmod 755 {} \;



from terminal. You should alway use sudo.



The PS command will do nothing for you. It shows processes not the information you need.

Statistics: Posted by Queasy — Wed Oct 15, 2014 7:59 pm








via Joomla! http://ift.tt/1wJ68LB

No comments:

Post a Comment