Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permissions in Devfsd.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Thu Aug 29, 2002 1:51 pm    Post subject: Permissions in Devfsd.conf Reply with quote

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
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Thu Aug 29, 2002 1:54 pm    Post subject: More info Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Aug 29, 2002 1:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Fri Aug 30, 2002 2:24 pm    Post subject: Groups..... Reply with quote

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
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Fri Aug 30, 2002 7:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum