LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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

Reply
 
LinkBack Search this Thread
Old 10-28-2009, 07:04 AM   #1
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
Messing about with permissions, won't turn on.


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
 
Old 10-28-2009, 07:15 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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 :-)
 
Old 10-28-2009, 07:16 AM   #3
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Slax atma
Posts: 82

Rep: Reputation: 21
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.
 
Old 10-28-2009, 07:22 AM   #4
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 13.37
Posts: 625

Rep: Reputation: 90
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).
 
Old 10-28-2009, 07:27 AM   #5
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
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
 
Old 10-28-2009, 07:30 AM   #6
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

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

~Callum
 
Old 10-28-2009, 07:34 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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.
 
Old 10-28-2009, 07:53 AM   #8
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
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
 
Old 10-28-2009, 08:06 AM   #9
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
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
 
Old 10-28-2009, 08:08 AM   #10
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
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
 
Old 10-28-2009, 08:09 AM   #11
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
-ignore-

Last edited by callumacrae; 10-28-2009 at 08:20 AM. Reason: incorrect
 
Old 10-28-2009, 08:10 AM   #12
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Forgot to mention: I was switching users when it crashed, and I turned it off at the socket.
 
Old 10-28-2009, 08:22 AM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
If the permissons are root root, it seems correct.
Try to run fschk on the drives.
Try to login in gnome in safe mode
 
Old 10-28-2009, 08:26 AM   #14
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
How do I run fschk?

I can't get to the login screen.

~Callum
 
Old 10-28-2009, 08:29 AM   #15
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Sorry forgot about google.

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

It's ext3.

~Callum
 
  


Reply

Tags
fedora, permissions


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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:36 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration