(Tips) Perfect Permissions for Joomla and Plesk

Tips : Perfect Permissions for Joomla and Plesk

This post is a continuation (actually a better solution) from my previous post on Joomla Session Save Path
The solution is a slightly modified version from the original post found at rackerhacker.com
Change the umask in ‘/etc/proftpd.conf’ from ‘022′ to ‘002′.

Then, update the directory permissions by running the following at the command line:

cd /var/www/vhosts/[domain.com]
chown -R [username]:psacln httpdocs
chmod -R g+w httpdocs
find httpdocs -type d -exec chmod g+s {} \;
 

Add the ‘apache’ user to the ‘psacln’ group by editing ‘/etc/group’.

Change

psacln:x:2524:
 

to

psacln:x:2524:apache

[Read more..]
 

Courtesy : http://www.dustinsdesign.com