Set default folder permissions

Score
0
Vote Up
October 23, 2005 at 19:02:51 Pacific
Specs: Fedora Core 4, 500mhz, 224mb

Hey, I kinda locked myself out of my computer.. I do have
root access, but all I can get to is terminal (fullscreen via
ctrl-alt-1) and X can not start... I know what the problem
is (restricted permission to all folders and every file to ALL
users but root)

So, the question: Is there a command to reset folder
read/write permissions to default?

Thank you!


Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
October 26, 2005 at 08:47:00 Pacific

The only real way would be to re-install all the apps or carry out the fedora setup again. You can change all your permissions recursively but some files need to have different permissions to others, eg /etc/sudoers needs permissions of 440 o=root g=root in order for sudo to work. Some other apps break too if certain files are world readable.

How come all the permissions changed? I hope you weren't logging in as root....?!?


Reply ↓  Report •

#2
Vote Down
Score
0
Vote Up
October 26, 2005 at 08:47:33 Pacific

....Oh, or you could restore from backup....

Reply ↓  Report •

#3
Vote Down
Score
0
Vote Up
November 2, 2005 at 18:52:34 Pacific

Hey, sorry it took so long to respond. I reinstalled FC4, works great, I love Linux :-)

Thanks


Reply ↓  Report •

Reply to Message Icon Start New Discussion
Related Posts

« Missing commands Delete one boot loader »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC