LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   CHMOD in shell : chmod 777 /usr/ <---is that right? (https://www.linuxquestions.org/questions/programming-9/chmod-in-shell-chmod-777-usr-is-that-right-205327/)

cpanelskindepot 07-15-2004 07:18 AM

CHMOD in shell : chmod 777 /usr/ <---is that right?
 
Hi guys I wanted to chmod 777 the /usr/ directory
Is chmod 777 /usr/ the right command?

keefaz 07-15-2004 08:42 AM

You may want reinstall your entire system after doing that recursivly, take care don't use the -R or -r options !

slackie1000 07-15-2004 01:28 PM

hi there...

that's right...
as Keefaz said, something is wrong if you need/want to make a chmod 777 /usr/...
for sure you will find out after 1 minute that was a big mistake... Safety reasons..
also, as far as I know, for chmod -R 777 /usr/ there is no UNDO !!

regards

slackie

320mb 07-15-2004 01:43 PM

there is some stuff in /usr/ that is 755
and still other stuff that is 644

and there are lots of stuff that are symlinks that go
elsewhere on the system.................it's not wise at all to
change everything!!!!!!

cpanelskindepot 07-15-2004 08:19 PM

I think I didn't make a point that the /usr/ directory is only used as an example.
Sorry for the false alarm.

so chmod 777 /usr/ only chmods that directory, not recursively am I right? :)

slackie1000 07-16-2004 05:37 AM

yes, now you are right... only the directory..

for recursive

chmod -R 777 /whatever/...

regards

slackie


All times are GMT -5. The time now is 12:45 AM.