LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-08-2004, 09:55 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
SOMTHING keeps changing file permisons and sym links in /dev !


seemingly randomly, somthing keeps changing the file permissions of the folowing files

/dev/nvidia0
/dev/nvidia1
/dev/nvidiactl

/dev/hdc
/dev/hdd

also, it keeps removing the symlinks..
/dev/cdrom -> /dev/hdc
/dev/cdrom1 -> /dev/hdd

and creating the link
/dev/cdrom -> /dev/hdd (the wrong cd-drive)

im using slackware 10.

the permissions are so restrictive, i cannot play OpenGL games, or Audio CD's

edit: lol, forgot to ask.. Whats wrong ? what keeps doing it? and how do i stop it ?

Last edited by qwijibow; 07-08-2004 at 09:56 AM.
 
Old 07-08-2004, 10:00 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I would think that is the behaviour of the udev feature with 2.6 kernel.

The permissions can be set in
/etc/udev/permissions.d/udev.permissions

And the links can be created like this :
BUS="ide", KERNEL="hdc", NAME="%k", SYMLINK="cdrom"

at the top of the file
/etc/udev/rules.d/udev.rules

Of course, if you don't use kernel 2.6 or udev forget that
 
Old 07-11-2004, 07:13 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
well,,,, 'top' shows udevd is running, but i find no mention of udev in the config file i used to compile m 2.6.7 kernel.. i will play with the udev config anyways.
 
Old 07-11-2004, 07:23 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
udev comes from udev package and uses the hotplug feature of the kernel to detect hardware and populates /dev node for it.

udev is a deamon not a module

Last edited by keefaz; 07-11-2004 at 07:24 AM.
 
  


Reply



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
Sym links and hard links akudewan Linux - Newbie 4 02-09-2005 05:08 AM
sym links -- RealPlayer lmellen Linux - Newbie 2 08-29-2004 02:29 PM
Dead sym links Hangdog42 Linux - General 5 10-02-2003 04:35 AM
Sym Links and vsFTPd Datacraft Linux - Software 1 05-24-2003 05:20 PM
dead sym links dewcansam Linux - General 1 02-08-2002 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 AM.

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
Open Source Consulting | Domain Registration