Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Device permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
The_Bell
Apprentice
Apprentice


Joined: 01 Jul 2002
Posts: 157

PostPosted: Sun May 30, 2004 1:55 pm    Post subject: Device permissions Reply with quote

Hello,

I am running a Gentoo 2004.1 with a 2.4 kernel (there's a propietary module I need and it's only for 2.4 kernels) and scsi-emulation activated to burn my CDs and DVDs.

I used to use grip to rip my CDA to OGG. When using scsi emulation it seems the user who executes grip must have access to the generic device (sgX) instead of the cdrom device (srX).

It seems I don't have the permissions set and I do not know how to do it. Here's the ls of the devices:

Code:

brw-------  1 enzo cdrom 11, 1  1 gen  1970 cd
crw-r-----  1 root root  21, 2  1 gen  1970 generic


My user (enzo) has access to the 'cd' device and I need to set it to have access to the 'generic' device. Any help on how to do it?

Many thanks.
_________________
Live long and prosper
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Sun May 30, 2004 2:51 pm    Post subject: Reply with quote

just chmod it 755 should work-
_________________
linux: #232767
Back to top
View user's profile Send private message
The_Bell
Apprentice
Apprentice


Joined: 01 Jul 2002
Posts: 157

PostPosted: Sun May 30, 2004 4:48 pm    Post subject: Reply with quote

This will work until rebooting the system. After a reboot the permissions are the same as before.
_________________
Live long and prosper
Back to top
View user's profile Send private message
Exeel
n00b
n00b


Joined: 05 May 2003
Posts: 7
Location: NSW, Australia

PostPosted: Sun May 30, 2004 4:53 pm    Post subject: Reply with quote

Have a look inside the /etc/devfsd.conf file... it contains a commented out line that will apply the correct permissions.

To get it working, i think you might have to delete the file and then killall -s HUP devfsd, but just HUP'ing devfsd might solve the problem. Sorry if that doesnt make sense, just post back and ill help you out
_________________
___
Exeel -

whisper 'mov cat,rooster' > public.bar.stool->girl.ear 2> hell.nofury > /dev/null
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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