| View previous topic :: View next topic |
| Author |
Message |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
Posted: Sun Nov 10, 2002 11:23 am Post subject: suddenly devfsd does not set correct permissions anymore |
|
|
Everything worked fine but suddenly, devfsd does not set the correct permissions for my cd writer and dvd drive anymore ... I am not able to use them as a normal user.
My /etc/devfsd.conf looks like this:
| Code: | # Give the cdrw group write permissions to /dev/sg0
# This is done to have non root user use the burner (scan the scsi bus)
REGISTER ^sg0$ PERMISSIONS root.cdrw 660
REGISTER ^sr0$ PERMISSIONS root.cdrw 660
REGISTER ^sg1$ PERMISSIONS root.cdrom 660
REGISTER ^sr1$ PERMISSIONS root.cdrom 660 |
But in /dev, the devices get the following permission:
| Code: | lr-xr-xr-x 1 root root 31 Nov 10 12:16 sr0 -> scsi/host0/bus0/target0/lun0/cd
lr-xr-xr-x 1 root root 36 Nov 10 12:17 sg0 -> scsi/host0/bus0/target0/lun0/generic
lr-xr-xr-x 1 root root 31 Nov 10 12:16 sr1 -> scsi/host0/bus0/target1/lun0/cd
lr-xr-xr-x 1 root root 36 Nov 10 12:17 sg1 -> scsi/host0/bus0/target1/lun0/generic |
I've tried everything ... deleted the symlinks, rebooted the computer ... nothing helps. Any idea? |
|
| Back to top |
|
 |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
Posted: Wed Nov 13, 2002 7:10 am Post subject: |
|
|
| No one? Maybe this is the wrong forum for my request... Could a moderator please move this thread into the correct forum? |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 15989 Location: Colorado
|
Posted: Wed Nov 13, 2002 4:06 pm Post subject: |
|
|
The forum seems apropriate. I've read about devfsd not getting the permissions set, but I've never understood why. If you haven't already, you might do a lengthy search to see if anyone has figured it out. _________________ Safety is my gaol.
US Constitution | Amendments |
|
| Back to top |
|
 |
SlCKB0Y Tux's lil' helper

Joined: 07 Jul 2002 Posts: 105 Location: Sydney, Australia
|
Posted: Thu Nov 14, 2002 8:28 am Post subject: |
|
|
| i had the same thing happen with my sound devs. i tried chmodding them but it wouldnt let me, i tried doing all sorts of things. in the end it was solved with a reboot so if u have tried that theni dont know what to suggest |
|
| Back to top |
|
 |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
Posted: Thu Nov 14, 2002 1:14 pm Post subject: |
|
|
I've rebooted the computer several times now ... still same problem  |
|
| Back to top |
|
 |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
Posted: Wed Nov 20, 2002 6:16 am Post subject: |
|
|
I realised there is a /dev/MAKEDEV file. I've edited it and changed the scsi line to "root users 660" but the permissions of the scsi devices are still root.root 660
So what is used? /dev/MAKEDEV or /etc/devfsd.conf for permission settings? |
|
| Back to top |
|
 |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
Posted: Thu Nov 21, 2002 10:01 am Post subject: |
|
|
By the way:
As long as I have not started any cdr tool (like k3b for example) which scans the scsi bus for scsi devices, there is a cd device in /dev/scsi/host0/bus0/target0/lun0 named "cd" with correct permissions set (root.cdrw 660). After I've started k3b, there is also a "generic" device with wrong permissions (root.root 660). I did a "kill -HUP" to the devfs daemon for re-reading the configuration files. After that, the "generic" device had the correct permissions!! That's strange, something's wrong there... |
|
| Back to top |
|
 |
sven Apprentice

Joined: 19 Apr 2002 Posts: 274
|
|
| Back to top |
|
 |
|