Fellow Ubuntu Server users,
While I've used linux for years, I still consider myself a novice in many areas...and occasionally make fatal mistakes like running retarded commands like `sudo chmod -R 664 *` which have screwed my installation royally and made me reformat and start over from scratch...leading to hours and hours wasted.
What I want to know is whether there is a website or any type of resource that shows what the default permissions of each file should be on a vanilla installation of Ubuntu Server. Most importantly (in my case), the /etc directory, but knowing the rest of them wouldn't hurt either. I ran a `sudo chmod .*` in the /etc/skel directory...which went up to the /etc/ directory and changed every file in that directory (but not subdirectories luckily cause no -R). Sooo....I managed to change sudoers back and get into root, but am afraid to restart as I don't know what else in the /etc will bomb based on invalid permissions.
Any help would be most appreciated!
Bookmarks