LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 10-28-2009, 07:04 AM   #1
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10
Messing about with permissions, won't turn on.


[Log in to get rid of this advertisement]
Hello,

I was messing around with permissions, and now my computer won't turn on.

I changed the permissions of the /bin, /boot & /dev directories to "Others: none". My computer promptly crashed when I switched users and now it won't turn on. When I try to turn it on it displays the Fedora loading thing and loads. When it get to the bit where the mouse displays on screen it goes to a black screen and then back to the mouse, and back to black etc.

How can I change the permissions back?

Thanks,
~Callum
linuxubuntu callumacrae is offline  
Tag This Post , ,
Reply With Quote
Old 10-28-2009, 07:15 AM   #2
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,507
Thanked: 441
Boot from a live cd, mount the drive and put the permissions back to the original.
I hope you know the original permissions though.
Note: don't mess with permissions :-)
linuxdebian repo is online now     Reply With Quote
Thanked by:
Old 10-28-2009, 07:16 AM   #3
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Slax atma
Posts: 48
Thanked: 9
Use a live cd

Hi,
How can permission problem cause trouble while botting? I thought root always have permission. And while booting everything is done as root.
Cheers
-indiajoe

Last edited by indiajoe; 10-28-2009 at 07:18 AM..
linux indiajoe is online now     Reply With Quote
Old 10-28-2009, 07:22 AM   #4
ozanbaba
Member
 
Registered: May 2003
Location: istanbul
Distribution: Slackware
Posts: 38
Thanked: 3
Quote:
Originally Posted by callumacrae View Post
Hello,

I was messing around with permissions, and now my computer won't turn on.

I changed the permissions of the /bin, /boot & /dev directories to "Others: none". My computer promptly crashed when I switched users and now it won't turn on. When I try to turn it on it displays the Fedora loading thing and loads. When it get to the bit where the mouse displays on screen it goes to a black screen and then back to the mouse, and back to black etc.

How can I change the permissions back?

Thanks,
~Callum
probably easiest and ugliest way is to reinstall system from scratch. i hope Fedora installer have a way not to touch some files (like /home/*).

other method is to use a boot CD or DVD and use chmod chown to change them to original ways. you can find a lot of small and big boot disk on the net like knoppix, DSL (or use original Fedora CD(DVD) for it).
linux ozanbaba is offline     Reply With Quote
Thanked by:
Old 10-28-2009, 07:27 AM   #5
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
How can I change the permissions when I have changed the permissions so that I wouldn't be able to see it?

I don't really want to reinstall

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 07:30 AM   #6
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
@indiajoe: That is exactly what I thought.

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 07:34 AM   #7
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,507
Thanked: 441
Why can't you see them?
How did you changed the permissions?
unless the user "Others" and the group "none" exist, you can't change them.
Login with a live CD and give the output from
Code:
ls -l /bin
They should be root:root

After boot can you press ctrl-alt-f1 to go to a tty
and login as root ?

Last edited by repo; 10-28-2009 at 07:36 AM..
linuxdebian repo is online now     Reply With Quote
Thanked by:
Old 10-28-2009, 07:53 AM   #8
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
I changed the permission like this:

sudo nautilus

Right click on /bin -> Properties -> Permissions

Then changed "Others" to "None".

This is the same in all distros using GNOME, I believe.

Ctrl + Alt + F1 doesn't work.

Burning a live cd now.

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:06 AM   #9
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
Okay, I can see those folders, I just don't have access. I can also view their permissions (in properties), but not change them: "You are no the owner, so you cannot change the permissions)

ls -l /bin return quite a lot, and I don't have internet on that computer.

First few lines:

Quote:
total 6268
- rwxr-xr-x. 1 root root 123 2009-05-15 08:38 alsaunmute
- rwxr-xr-x. 1 root root 35016 2009-04-01 07:20 arch
I could find a memory stick from somewhere?

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:08 AM   #10
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
Hmm. /bin is apparently unreadable. The permissions for other are set to none. But /boot permissions for other is allow access but /boot itself appears to be empty. I can view the contents of /dev as well.

Am I barking up the wrong tree?

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:09 AM   #11
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
-ignore-

Last edited by callumacrae; 10-28-2009 at 08:20 AM.. Reason: incorrect
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:10 AM   #12
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
Forgot to mention: I was switching users when it crashed, and I turned it off at the socket.
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:22 AM   #13
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,507
Thanked: 441
If the permissons are root root, it seems correct.
Try to run fschk on the drives.
Try to login in gnome in safe mode
linuxdebian repo is online now     Reply With Quote
Old 10-28-2009, 08:26 AM   #14
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
How do I run fschk?

I can't get to the login screen.

~Callum
linuxubuntu callumacrae is offline     Reply With Quote
Old 10-28-2009, 08:29 AM   #15
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 110
Thanked: 10

Original Poster
Sorry forgot about google.

"...does not describe a correct ext2 filesystem..."

It's ext3.

~Callum
linuxubuntu callumacrae is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
My CnMBook Manual page 5 shows how to turn off on desk top, but how do I turn on? salmagundi Linux - Newbie 2 04-04-2009 03:46 PM
need to turn off permissions on a used eee pc 701 boyd parkins Linux - Laptop and Netbook 4 10-27-2008 12:10 PM
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 10:39 AM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 09:05 AM
smbmount is messing with mount point permissions Sohni Linux - Networking 1 04-06-2004 11:37 AM


All times are GMT -5. The time now is 06:24 AM.

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