GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need help, What is the command to chmod everything.. (https://gfy.com/showthread.php?t=473658)

Va2k 05-28-2005 11:59 AM

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

riddler 05-28-2005 12:00 PM

chmod 777 * ? or use a ftp client like flashfxp and it will go in every dir and chmod the shit

Lycanthrope 05-28-2005 12:12 PM

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.

Chio The Pirate 05-28-2005 12:15 PM

YARGH! chomd -r -f 777 ? Not 100% sure on that though.

Va2k 05-28-2005 12:18 PM

Thanks for all the info damn ssh wont work have to use cute ftp :(

Va2k 05-28-2005 12:23 PM

chomd -r -f 777
500 'CHOMD -r -f 777': command not understood.
ERROR:> Syntax error, command unrecognized.

JOKER 05-28-2005 12:24 PM

chmod -R 777 *

in the root of the dir where the folders are in.

Chio The Pirate 05-28-2005 12:24 PM

Quote:

Originally Posted by Joker
chomd -r -f 777
500 'CHOMD -r -f 777': command not understood.
ERROR:> Syntax error, command unrecognized.


YARGH! haha try chmod :) also add the directory name to the end.

Babaganoosh 05-28-2005 12:25 PM

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.

Va2k 05-28-2005 12:26 PM

Quote:

Originally Posted by Chio The Pirate
YARGH! haha try chmod :) also add the directory name to the end.

damn i didnt even notice that lol


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