![]() |
Need help, What is the command to chmod everything..
Hi what is the command in ssh to chmode everything to 777 like if there are 400 dir's and you want the dir's to be 777 and everything inside the dir's to be 777 whats the command to do such a thing?
TOM PS Thanks |
chmod 777 * ? or use a ftp client like flashfxp and it will go in every dir and chmod the shit
|
Or you could let a simple php file do it for you:
<?php exec('chmod 777 /home/account/web/*/*/*/*'); ?> Obviously adjust the dirs to how deep you go then upload it and call it. |
YARGH! chomd -r -f 777 ? Not 100% sure on that though.
|
Thanks for all the info damn ssh wont work have to use cute ftp :(
|
chomd -r -f 777
500 'CHOMD -r -f 777': command not understood. ERROR:> Syntax error, command unrecognized. |
chmod -R 777 *
in the root of the dir where the folders are in. |
Quote:
YARGH! haha try chmod :) also add the directory name to the end. |
Can't you just select everything and then chmod or chmod a directory recursively? If you can't, you need to use a different FTP client. FlashFXP allows that.
|
Quote:
|
| All times are GMT -7. The time now is 07:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123