How can we automatically set the FTP file permissions to our droplets? We want folders to be 755 and the files to be 644.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This question was answered by @sierracircle:
are you using sFTP? using plain FTP has some serious security issues.
I think umask is what you need to work with:
Click below to sign up and get $100 of credit to try our products over 60 days!
are you using sFTP? using plain FTP has some serious security issues.
I think umask is what you need to work with:
https://www.digitalocean.com/community/tutorials/linux-permissions-basics-and-how-to-use-umask-on-a-vps
That would depend what FTP server you have installed. Additionally I would look for settings in Filezilla.
When using an FTP client such as Filezilla, folders and files uploaded to the server are automatically set to a high security protocol. How can we set the file permissions to be 755 for folders and 644 for files? Below is an example of the File Permissions window.
Image: http://dreamsickle.com/files/File%20Permissions.png
What do you mean?