LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-20-2005, 05:02 AM   #1
jonman364
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
udev permissions.d not read


udev has been populating /dev with devices with default permissions. The funny thing is, as a user I could startx (kde) and it would work. After I installed the nvidia driver, when I would startx as a user, I would get some SF with kdeinit, or other error if /dev/null wasn't 666. After a chmod 0666 /dev/* everything works fine, so I figure it has to do with udev permissions.

/etc/udev/{udev.conf,rules.d,permissions.d} all lfs default

edit /etc/udev/udev.conf and added
udev_permissions="/etc/udev/permissions.d"
or
udev_permissions="/etc/udev/udev.permissions"
no change

cp /etc/udev/permissions.d/25-lfs.permisions to /etc/udev/udev.permissions
no change

Any ideas with whats wrong?
 
Old 02-21-2005, 04:08 PM   #2
jonman364
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
I found the answer. From http://webpages.charter.net/decibels...DEVPrimer.html

Quote:
RECENT CHANGES to Primer:
1) Permissions: Something you might want to note from the changelog in Udev-051: Also, please note that the .permissions files are now gone! If you had custom ones in the past, you need to move that logic into the .rules files (if not, you'll just get root only access to the devices, so it's not a security issue...)
Should I create a new .rules file with, for example:

KERNEL="ptmx" NAME="%k" OWNER="root" GROUP="tty" MODE="0666"
from the permissions file line
ptmx:root:tty:0666

Last edited by jonman364; 02-21-2005 at 04:45 PM.
 
  


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
/etc/udev/permissions.d on Slack ? Kocil Slackware 3 11-29-2005 02:57 AM
/dev/sound/* permissions reset using udev ratman96 Linux - General 0 05-04-2005 01:13 PM
Slackware 10.1 + Udev Permissions and USB Drives rignes Slackware 3 03-07-2005 09:12 PM
udev-054 user permissions henno Slackware 1 03-03-2005 06:19 AM
udev : framebuffer device (/dev/fb0) default permissions keefaz Slackware 6 07-04-2004 06:54 PM


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