I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example:
chmod 666 /usr
I want that every directory under "/usr" turn into permissions to 666.
Thanks in advance.
I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example:
chmod 666 /usr
I want that every directory under "/usr" turn into permissions to 666.
Thanks in advance.
First, please learn to read man pages:
$ man chmod
Partway down that page, you will see:
-R, --recursive
change files and directories recursively
And there's your answer.
man for chmod is pages and pages long -- that's the point why OP is here). Here is the real answer:
chmod 666 -R /usr
– dylanh724
Jun 09 '20 at 03:49
/usr. There are good reasons that linux distributions set the permissions they do, and it is at your own peril to change them in such a drastic fashion. – EEAA Feb 06 '13 at 02:16/usr, well, you might as well walk around all day with your pants down. – EEAA Feb 06 '13 at 02:21chmod -R 666 /usrnot provide the desired results? – jscott Feb 06 '13 at 03:40