1
If one is on as root, and runs this:
chmod -R g-w,o-w /
What are the implications? And what would one have to do to undo the effects?
Yes, the dumb user was me. So we fixed it as follows:
- Add back g+w and o+w to all the "c" file types in /dev and its subdirectories.
- Add back g+w and o+w to /tmp so processes can write temp files.
- We're not worried about /home. That was what we were attempting to modify.
And things like /usr/lib and such are already g-w and o-w.
But what other system areas my be detrimentally impacted by removing group and others write as root from the / level?
The system seems fine now, but just want to know if there is anything I'm missing that has yet to turn up.
All assistance appreciated!
Note that for the "c" files in /dev, we modeled it after another machine and only did g+w, or o+w or both based on the other machine; not always just both. – James Madison – 2016-06-17T20:47:39.860
All I can think of would be to check the log files in /var/log for any errors related to issues reading/writing files. – Curtis – 2016-06-17T23:06:26.080