Netbeans 远程文件权限。从 Netbeans 中 chmod ?
在处理项目时,a'la“来自远程服务器的 PHP 应用程序”
当我右键单击文件的属性时,我提供的文件属性仅与本地属性相关。
是否可以以某种方式从 Netbeans 内修改远程文件的文件权限?
目前,对于我创建的每个新文件,我必须通过 ssh 手动 chmod 一次。我想知道是否可以从 Netbeans 内部执行此操作。也许用插件?
是的,我知道“保留远程文件权限”设置,并且我确实使用它。 谷歌有很多关于该功能的结果,但与我要问的内容无关;)
When working with a project, a'la "PHP application from remote server"
The file properties I am offered, when I right-click->properties on files, relate only to the local properties.
Is it possible to modify file permissions on the remote files from within Netbeans somehow?
Currently for each new file I create, I have to manually chmod it, once, via ssh. I'd like to know if it's possible to do that from within Netbeans. With a plugin perhaps?
And yes I am aware of the 'preserve remote file permissions' setting and I do use it.
Google has many results about that feature but none pertinent to what I am asking ;)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
每次更改文件时,您可以在服务器上使用 dnotify 来修改文件权限。
You can use dnotify on your server to modify the file permissions every time you change a file.
我认为这在 NetBeans 中是不可能的。我在 FireFox 中使用 FireFTP 来更改远程服务器上的文件权限。
I don't think this is possible in NetBeans. I use FireFTP in FireFox for changing file permissions on remote servers.
据我所知,不,你不能。
但是,您应该能够(如果您有权访问)更改授予文件的默认权限通过您的 FTP 服务器,这将解决此问题。
值得检查一下其他 FTP 客户端是否会遇到同样的问题,即您需要通过 SSH 来 chmod 文件才能使用它。如果确实发生这种情况,则很可能是您的 FTP 服务器的配置问题。 有点像这样。
As far as I can tell, no you can't.
However, you should be able (if you have access) to change the default permissions given to files by your FTP server, which will resolve this problem.
It would be worth checking to see if another FTP client gives you the same problem, whereby you need to SSH in to chmod the file before you can use it. If this does happen, then it's most likely a configuration problem with your FTP server. A bit like this.