Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which permissions on the drive does cdparaoia need???
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
fsavigny
n00b
n00b


Joined: 08 Sep 2012
Posts: 24

PostPosted: Thu Apr 25, 2013 7:27 pm    Post subject: Which permissions on the drive does cdparaoia need??? Reply with quote

I keep getting errors like this when trying to use cdparanoia:

Code:
Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for SCSI/MMC interface
                Could not access device /dev/sr0 to test for SG_IO support: Permission denied

When I try to rip things with cdparanoia as root, it works flawlessly, so it MUST be a permission thing, as the error message indicates.

But when I look at the permissions:

Code:
> ls -l /dev/sr0
br--r--r-- 1 root cdrom 11, 0 Apr 25 20:57 /dev/sr0

I absolutely fail to see how root has any other permissions than members of the cdrom group (which every normal user on my computer is).

I would definitely like to run cdparanoia as a normal user. Does anybody have an idea which permissions it needs? Apart from reading permissions, that is?

Thank you so much for any help - I'm afraid I'm somehow stuck in a dead end.

Best regards,

Florian
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3901
Location: USA

PostPosted: Thu Apr 25, 2013 7:36 pm    Post subject: Reply with quote

the superuser (root) tends to be able to ignore lack of write permissions...

chmod +w for the group that needs it... then again udev/consolekit does wonders on a Gnome system...

It does seem weird why it needs write permissions... but actually it's because these write permissions are used to send the special ripping commands to the drive directly... Normally you don't want to send special commands to the cdrom drive, though in this case it's benign to read CDDA.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
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