View previous topic :: View next topic |
Author |
Message |
fsavigny n00b
Joined: 08 Sep 2012 Posts: 24
|
Posted: Thu Apr 25, 2013 7:27 pm Post subject: Which permissions on the drive does cdparaoia need??? |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Thu Apr 25, 2013 7:36 pm Post subject: |
|
|
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/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|
|
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
|
|