本文介绍了如何在 Aptana Studio 3 中设置默认文件权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次我将文件上传到远程主机并尝试打开它时,我都会收到内部服务器错误"消息,并且文件权限被设置为666",需要644"才能打开.如何将默认文件权限设置为644"?
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"?
推荐答案
- 打开首选项对话框:
Window >首选项
- 然后转到:
Aptana Studio >出版 >FTP
(你可以输入'ftp' 进入搜索框) - 这会将您带到下面的设置页面,您可以在其中设置新文件和文件夹的默认权限:
- 然后调整到您想要的上传和/或下载权限
- 您可以通过从下拉菜单中选择
for Files
或for Folders
来为文件和文件夹选择不同的默认权限
- 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 thedefault 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
这篇关于如何在 Aptana Studio 3 中设置默认文件权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!