0

I installed Joomla 3 to /var/www/html directory in Cent OS 6 server. Currently /var/www/html is owned by apache:apache.

What is the recommended permissions for Joomla installation on Linux in production environment. Who should own what with which permission?

0

Here is what finally used as a bash file.

#/bin/bash
chown -R root:root /var/www/html
cd /var/www/html
PLACES='
administrator/components
administrator/modules
administrator/templates
cache
components
images
images/banners
images/articles
language
media
modules
templates
'
for i in $PLACES; do chown -R apache:apache $i; done


find /var/www/html -type f -exec chmod 0644 {} \;
find /var/www/html -type d -exec chmod 0755 {} \;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.