• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Wrong Folder and File Permissions

PhilGreg

New Pleskian
Hi, I have a problem where every folder I ftp onto the server gets given a 700 permission and every file gets a Zero permission. Most of the sites I am adding to this server will be WordPress sites and most of the folders I want to have a permission of 755 and for the files a permission of 644 so my question is how do I change the settings so that any new files ftp'd onto the server get the permission 755 and files get the permission of 644 ? Thanks
 
Hi PhilGreg,

you can use the directive "Umask" in the /etc/proftpd.conf to set the permissions for uploaded files or folders.

Kind regards
Henning
 
Following on from Henning's post I found the solution to be :

1. Use Putty.exe to access the server
2. used the command "cd /usr/local/etc/" to navigate to the "etc" directory
3. Entered "vi proftpd.conf" to create the file proftpd.conf
4. entered the statement "umask 022" and then saved the file.
5. Rebooted server for changes to take effect and BINGO any new folders that get FTP'd to the server get the permission 755 and files get the permission 644.
 
Back
Top