Share your knowledge at the LQ Wiki.
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 09-18-2004, 08:28 AM   #1
LQ Newbie
Registered: May 2004
Location: Wonderful land of OZ
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
retaining /dev permission


I have just recompiled my kernel to
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, 11:11 AM   #2
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:


That's the proper way of making the permissions on your devices what you want them to be.
Old 09-18-2004, 11:32 AM   #3
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.


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 02:09 PM
/dev/hda1 write permission....? chunlee Linux - Newbie 13 07-08-2004 10:37 PM
/dev/ppp permission TheShemeta Linux - General 1 03-13-2004 11:03 AM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 05:39 PM
/dev/sound permission problems bulliver Linux - General 10 01-25-2003 07:08 AM

All times are GMT -5. The time now is 07:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration