如何在 Aptana Studio 3 中设置默认文件权限? [英] how to set default file permissions in Aptana Studio 3?

查看:30
本文介绍了如何在 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"?

推荐答案

  1. 打开首选项对话框:Window >首选项
  2. 然后转到:Aptana Studio >出版 >FTP(你可以输入'ftp' 进入搜索框)
  3. 这会将您带到下面的设置页面,您可以在其中设置新文件和文件夹的默认权限:
  4. 然后调整到您想要的上传和/或下载权限
  5. 您可以通过从下拉菜单中选择for Filesfor Folders 来为文件和文件夹选择不同的默认权限
  1. Open the Preferences dialog: Window > Preferences
  2. Then go to: Aptana Studio > Publishing > FTP (You can just type 'ftp' into the search box)
  3. That will bring you to the settings page below where you can set the default permissions for new files and folders:
  4. Then adjust to your desired permissions for Uploads and/or Downloads
  5. You can choose different default permissions for files and folders by selecting for Files or for Folders from the drop-down menu

这篇关于如何在 Aptana Studio 3 中设置默认文件权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆