View previous topic :: View next topic |
Author |
Message |
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Thu Aug 29, 2002 1:51 pm Post subject: Permissions in Devfsd.conf |
|
|
OK ive tried to work this out all week and its most perplexing to me. The following lines result in the device 'burner' having properties r-xr-xr-x
Code: | LOOKUP ^burner$ CFUNCTION GLOBAL mksymlink cdroms/cdrom1 burner
REGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL mksymlink $devname burner
UNREGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL unlink burner
|
How do I set write access to 'burner'....
[YES] burning does work under root, but I want to burn under my user account |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Thu Aug 29, 2002 1:54 pm Post subject: More info |
|
|
Futher up in the devfsd.conf file I also have this entry
Code: |
REGISTER ^burner PERMISSIONS root.cdrw 777
|
So really It should be set at rwxrwxrwx but is only r-xr-xr-x
Whats doing? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Aug 29, 2002 1:57 pm Post subject: |
|
|
What groups does the non-root user belong to? Entering 'groups' at a prompt will tell you.
Also, moved from Other Things Gentoo to Multimedia. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Fri Aug 30, 2002 2:24 pm Post subject: Groups..... |
|
|
the user belongs too
wheel, cdrw, audio, video, users
I cant see how that matters though because the device is still
r-xr-xr-x
even if I log in as root!!
So how can I change this? |
|
Back to top |
|
|
Kabuto l33t
Joined: 01 Aug 2002 Posts: 701
|
Posted: Fri Aug 30, 2002 7:01 pm Post subject: |
|
|
burner is a link to cdroms/cdrom1. Check to see what the rights are on it. That is the one that counts. I assume this a cdrw which you'll want to set up as scsi emulation anyway to get it to work. |
|
Back to top |
|
|
|