LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 09-18-2004, 09:28 AM   #1
kaise_sose
LQ Newbie
 
Registered: May 2004
Location: Wonderful land of OZ
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
retaining /dev permission


Hi,

I have just recompiled my kernel to 2.6.8.1.
I am running Mandrake 10.0, which I know uses the devfs to assign dev permissions etc.

I decided to not compile devfs into my kernel at all, since it is now depreciated and I wanted to try to use the new convention /dev/pty format.

I just want to know how to retain any permissions which I set in the /dev/ folder, because everytime I boot I do not have permission to access /dev/null and a few other important components tty's etc.

I can fix this easily enough, with chmod as su. But I would really love to be able to keep these settings everytime I boot. I could make a script that ran at boot time to alter these permissions, but I imagine there is a "proper" way to do it not a dodgy hack like that.

Any thoughts?
 
Old 09-18-2004, 12:11 PM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Look for a file called devfsd.conf (probably under /etc) and in it you will find lines like this:

REGISTER sound/.* PERMISSIONS root.audio 660

That's the proper way of making the permissions on your devices what you want them to be.
 
Old 09-18-2004, 12:32 PM   #3
kaise_sose
LQ Newbie
 
Registered: May 2004
Location: Wonderful land of OZ
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Yeah, but I am not using devfs. That is my problem.

I think I have worked it out partially.

I didn't have the new udev scripts installed. I have since downloaded them and I have to configure them now....

Thanks anyway.
Cheers
Kai
 
  


Reply


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
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM
/dev/hda1 write permission....? chunlee Linux - Newbie 13 07-08-2004 11:37 PM
/dev/ppp permission TheShemeta Linux - General 1 03-13-2004 12:03 PM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 06:39 PM
/dev/sound permission problems bulliver Linux - General 10 01-25-2003 08:08 AM


All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
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 Google+: linuxquestions
Open Source Consulting | Domain Registration