Every time I upload a file to the remote host and try to open it, I get the "Internal Server Error" message and file permissions get set to "666" which needs to be "644" to open. How do I set default file permissions to be set to "644"?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Open the Preferences dialog:
Window > Preferences
- Then go to:
Aptana Studio > Publishing > FTP
(You can just type 'ftp' into the search box) - That will bring you to the settings page below where you can set the default permissions for new files and folders:
- Then adjust to your desired permissions for Uploads and/or Downloads
- You can choose different default permissions for files and folders by selecting
for Files
orfor Folders
from the drop-down menu