By go4christian
Hi :) I followed these two tutorials to setup my Server:
https://www.digitalocean.com/community/articles/initial-server-setup-with-ubuntu-12-04 https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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 <code> Aptana Studio > Publishing > FTP</code>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.