change file persmissions filezilla command line windows

安稳与你 提交于 2020-06-02 11:16:06

问题


How do I change the file permissions in filezilla with the command line?
I tried 'SITE CHMOD 755 templates' but that only changes the folder 'templates'.
I want to chmod all files in the templates folder and the subfolders in there.
I know you can do this by clicking rmb om the templates folder etc. but that is way to slow I was hoping the command line would be faster?

If not, what is the best way to change a lot of file permissions on your server fast?

I'm using filezilla in windows.


回答1:


Per ssh if possbile: Login on the remoteserver and simply do a

chmod -R 755 diretory

On the command line i would use lftp, which is IMHO the best command line ftp client (in Windows, install/run the cygwin setup.exe program and look for 'lftp' in the net section of the package list.). It supports

chmod -R 777 directory

In filezialla only per UI i guess:

Select the main folder, set to 755 and select the "recurse into subdirectories"

http://www.codeunit.co.za/2008/07/18/remotely-changing-multiple-linux-file-permissions-with-filezilla/

enter image description here



来源:https://stackoverflow.com/questions/5991476/change-file-persmissions-filezilla-command-line-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!