Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2002, 08:52 AM   #1
LQ Newbie
Registered: May 2002
Posts: 28

Rep: Reputation: 15
Linux permissions restore

I did a chmod -R u-rwxX /
I was very tired and ment to use o (other) insted of u (user).
Now I have a bit of a problem.
Is it possable to somehow restore the default permissions on my REDHAT 7.3 system.

Old 06-17-2002, 11:27 AM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Boot into a single mode from the lilo boot prompt (Ctrl-X on LILO boot screen will throw you back boot prompt issue init 1 hit enter), after you logged in issue
chmod -R 755 /
that'll fix it for you, but then you will need to adjust all the permissions for all the critical files, like /etc/shadow must be read-only by root only etc.
Old 06-18-2002, 02:23 AM   #3
LQ Newbie
Registered: May 2002
Posts: 28

Original Poster
Rep: Reputation: 15
OK thanks, but now all my files have an execute bit for other and user and group. Is this not a security problem.

The critical files you mentioned, do you know of a place on the web
where there is a list of these files.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Restore etc files permissions gollum26 Linux - Security 5 09-15-2004 05:06 PM
restore user permissions fisheromen1031 Linux - Newbie 1 07-22-2004 12:56 PM
how to restore my files permissions ? Punker51 Linux - Software 1 12-05-2003 05:24 AM
Restore default permissions scotcro Linux - Newbie 1 01-21-2003 09:13 PM
how to restore the default permissions safrout Linux - General 4 10-21-2002 08:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration