Files created through sFTP are always 777

May 28, 2014 1.6k views
Hi :) I followed these two tutorials to setup my Server: I want to login to the server with my IDE (Aptana) and create/edit/delete files: sudo chown -R my-user:www-data /folder-name This worked, I was able to create files and folders, but these folders all have the 777 file permissions. Is there a way to change this behavior so instead they are created with 755?
1 Answer
You should be able to change the default file permissions for files created with Aptana via sftp in the its preferences dialog. Check the settings in Aptana Studio > Publishing > FTP
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!