• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question [discussion] what file permission strategy to follow?

Koen Verbruggen

Basic Pleskian
Ideally I would like to have every account have two users: 1 for FTP/SSH access, 1 to run apache.
Then, the first would be owner of files, the second part of group. Files would have 640 and folders 750.
Only upload folders would get 770 and underlaying files 660 so the webserver is able to write to those specific places only.

In plesk, fileowner is the FTP user and group is psaserv.
Files defaulting to 644, folders to 755. Although some Wordpress files get more restricted then others.

I will be looking for a way to set more tight permissions: no writing for apache/nginx except where I specifically want to. Wordpress can be updated using CLI (Wordpress Toolkit) without the need for apache to write.

What I am interested in: Do you leave these settings as is or change them to your preferences? And why?
 
Back
Top