Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I have made a bobo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Aug 08, 2004 8:40 pm    Post subject: I have made a bobo Reply with quote

chmod 666 /dev/*

First assessment of problems: I can't open a terminal in any windows manager.

Can someone post a ls -l /dev please?
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Sun Aug 08, 2004 9:06 pm    Post subject: Assessment of Problem Reply with quote

The first thing you can do to fix your immediate problem is

Code:

chmod -R a+X /dev


Note the capital X

This will give eXecute permission to all directories (and any files that already have exec - which according to what you've said, is none).

This should allow you to open terminal windows (the reason you can't is because /dev/pty, where all pseudo-terminals lie, doesn't have eXecute permission so nobody can enter that directory).

Finally the permissions for most devices are 644, or rw-r--r-- with the exception of those that don't need as much security (/dev/null for example).

Anyways let me know how it goes, HTH!
_________________
"The philosophy of one century is the common sense of the next." - Henry Ward Beecher
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Aug 08, 2004 9:44 pm    Post subject: Reply with quote

Hi,

Adding execute permission to the folders seem to have taken cared of all the problems I had the time to notice (terminal and sound not working).

Now everything not a folder is 666. I think I'll simply leave it as is. This is a home server and all the users can be trusted.

It occurded to me that I have another box with devfs and linux 2.4. I think I can figure out the most part of it.

I just panicked a bit tough :?
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Sun Aug 08, 2004 9:47 pm    Post subject: Reply with quote

tecknojunky wrote:
I just panicked a bit tough :?


We've all been there at least once :lol:
_________________
"The philosophy of one century is the common sense of the next." - Henry Ward Beecher
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum