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

查看:184
本文介绍了如何在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 > Preferences
  2. 然后转到:Aptana Studio > Publishing > 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天全站免登陆