-1

This question already has an answer here:

Hypothetical situation:
What would be the long term effects of running sudo chmod -R 777 /? I know that it means that all users have full permissions on all files, but are there any other side-effects?

marked as duplicate by lgeorget, Jeff Schaller, countermode, Satō Katsura, don_crissti Mar 26 '17 at 12:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

That will make your OS unusable by removing the suid bit of some executables that need it.

0

Without talking about security issue, yes there is some-side effects.

one of them is, by changing root folder permission to 777 and all subfiles and folders even binary programs.. you're not changing only those simple permissions, there is something called sticky bits permissions, and this command sudo chmod -R 777 / will erase them for sure.

you can read about it here and you'll know how impotent they are. so be aware of this command line.

you can find all files and folders with sticky-bits permissions with this command

find / -perm -2000 -perm -4000 -perm -1000 -exec ls -l {} \;

or for folders:

find / -perm -1000 -exec ls -ld {} \;

Not the answer you're looking for? Browse other questions tagged or ask your own question.