LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   chmod (https://www.linuxquestions.org/questions/linux-software-2/chmod-54607/)

knueven7 04-11-2003 02:54 PM

chmod
 
Is there a way to chmod all the contents in a folder?

I tried chmod 664 /www/htdocs but it just changed the folder to 664 and not the contents.

notsoevil 04-11-2003 03:11 PM

chmod -R 664 /www/htdocs

-R is for "recursive".

You can also chown with that flag in a similar manner.

neenee 04-11-2003 03:12 PM

and try 'man chmod' next time :)

knueven7 04-11-2003 03:12 PM

Got it. Thanks a million!


All times are GMT -5. The time now is 04:39 PM.