|
#1
|
|||
|
|||
|
Hi,
I want to change all files' permission to 644 and all directories to 755 recursively quickly. How do I do it? It seems that Hostgator doesn't support telnet. I can use ftp, but there is no way to change permissions recursively. Thanks. |
|
#2
|
||||
|
||||
|
Instead of using telnet, open a ticket asking for ssh access (which is basically an encrypted telnet). Once they grant it, log in with that and run your command. Or, request support to run it for you.
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#3
|
|||
|
|||
|
Here a tool doing this if you dont have access to shell.
Last edited by riostyles; 05-06-2007 at 06:49 PM. |
|
#4
|
||||
|
||||
|
Quote:
Many FTP clients allow you to recursively change the chmod of files. I know gFTP and FlashFXP both allow you to do this. If you want to do this via Shell, you may request for SSH access. |
|
#5
|
||||
|
||||
|
you can try using cuteftp.
today i use it to setup my online directory site, and select the files and folder. right click property and change the write access at once.
__________________
Charles Gan Hostgatorreview.org webmaster
|
|
#6
|
|||
|
|||
|
The man wants recursive chmodding separately files and folders. Once you aqcuire SSH access issue this command in the main folder.
Code:
find . -type f | xargs chmod 644 HTML Code:
find . -type d | xargs chmod 755 It will grant your wish. Ask for SSH or simply ask admin to implement it for you. Generally SSH is great to have, provided you know what you are doing. |
|
#7
|
||||
|
||||
|
...and backup files are very useful if you don't.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|