Welcome to the most active Linux Forum on the web.
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 03-22-2005, 12:48 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: FC3
Posts: 26

Rep: Reputation: 15
Chmod + Newbie = #@!$

okay Im a complete noob to linux

I accidentally did:
chmod 750 /

then in a newbie panic I closed the shell... after failing to change back to super user I decided I might log out and log back in a root...

Am I going to have to reinstall, or is there a way to get back into root so I can fix this?

If there is, whats the default permissions for the root dir /?

Last edited by jgibz; 03-22-2005 at 12:49 PM.
Old 03-22-2005, 12:54 PM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

default root permission is 750 only

Last edited by Tinkster; 03-22-2005 at 02:46 PM.
Old 03-23-2005, 02:32 AM   #3
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
Actually, the default permission for / is 755. 750 would effectively block normal users from using the system, as they are not allowed to use any file or directory on the system.

(if I understand things correctly, that is :-)


Old 03-23-2005, 02:47 AM   #4
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Just use chmod to change them back.

/tmp -> 1777
/root -> 710
everything else -> 755
Old 03-23-2005, 11:20 AM   #5
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30

if you don't understand how the file permissions work, this will help a lot.


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
How to use Chmod Centinul Linux - Newbie 8 06-30-2005 11:44 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 09:53 PM
How do I use chmod? Adan Linux - Newbie 5 09-23-2004 05:57 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 06:37 AM
chmod +s or chmod -s excel28 Linux - General 1 09-30-2003 04:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

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
Open Source Consulting | Domain Registration