device permissions after libdvdcss install
I can no longer see my dvd or cd after I installed libdvdcss.
I used yum for the install. sudo yum install k9copy sudo yum install libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi After install /dev permissions = : lrwxrwxrwx 1 root root 3 2007-12-08 16:20 cdrw -> sr0 lrwxrwxrwx 1 root root 3 2007-12-08 16:20 cdrom -> sr0 lrwxrwxrwx 1 root root 3 2007-12-08 16:20 cdrw1 -> sr1 lrwxrwxrwx 1 root root 3 2007-12-08 16:20 cdrom1 -> sr1 lrwxrwxrwx 1 root root 3 2007-12-08 16:20 dvdrw -> sr0 lrwxrwxrwx 1 root root 3 2007-12-08 16:20 dvd -> sr0 I didn't make any modifications to /etc/fstab. Any suggestions? Thanks, |
Please post the output of ls -l /dev/sr{0,1}
|
results of ls -l
[mmartine@localhost ~]$ ls -l /dev/sr{0,1}
brw-r----- 1 root disk 11, 0 2007-12-08 16:20 /dev/sr0 brw-r----- 1 root disk 11, 1 2007-12-08 16:20 /dev/sr1 |
Are you a member of the 'disk' group?
To find out if your user is a member of disk, use 'grep ^disk: /etc/group' |
Does not look like it;
[mmartine@localhost etc]$ grep ^disk: /etc/group disk:x:6:root |
There is your problem. Add yourself to the disk group.
|
I want to thank you for your help here.
I couldn't figure this out the first time and did a re-install. I added my user name to the disk group. [mmartine@localhost etc]$ grep ^disk: /etc/group disk:x:6:root,mmartine Still have issues with some of the applications. My current permissions on /dev/sg* are: [mmartine@localhost dev]$ ls -lart /dev/sg* crw-r----- 1 root disk 21, 0 2007-12-08 17:56 /dev/sg0 crw-r----- 1 root disk 21, 1 2007-12-08 17:56 /dev/sg1 crw-r----- 1 root disk 21, 2 2007-12-08 17:56 /dev/sg2 crw-r----- 1 root disk 21, 3 2007-12-08 17:56 /dev/sg3 K3B gave error message: No write access to device /dev/sr1 K3b needs write access to all the devices to perform certain tasks. Without it you might encounter problems with CDWRITER - IDE5232 Solution: Make sure you have write access to /dev/sr1. In case you are not using devfs or udev K3bSetup is able to do this for you. No write access to generic SCSI device /dev/sg3 Without write access to the generic device you might encounter problems with Audio CD ripping from CDWRITER - IDE5232 Solution: Make sure you have write access to /dev/sg3. In case you are not using devfs or udev K3bSetup is able to do this for you. No write access to device /dev/sr0 K3b needs write access to all the devices to perform certain tasks. Without it you might encounter problems with DVDRW - IDE1004 Solution: Make sure you have write access to /dev/sr0. In case you are not using devfs or udev K3bSetup is able to do this for you. No write access to generic SCSI device /dev/sg2 Without write access to the generic device you might encounter problems with Audio CD ripping from DVDRW - IDE1004 Solution: Make sure you have write access to /dev/sg2. In case you are not using devfs or udev K3bSetup is able to do this for you. |
as root :
chmod g+w /dev/sg{0,1,2,3} (adds write permission to the group) |
Still no devices in some applications or file browser.
Any other suggestions? Thanks, |
I noticed the permissions for the block device were different from a later install.
Before libdvdcss install: brw-rw----+ 1 root disk 11, 0 2007-12-08 22:28 /dev/sr0 brw-rw----+ 1 root disk 11, 1 2007-12-08 22:28 /dev/sr1 After libdvdcss install: brw-r----- 1 root disk 11, 0 2007-12-08 16:20 /dev/sr0 brw-r----- 1 root disk 11, 1 2007-12-08 16:20 /dev/sr1 The write permission for group and there is a "+" are different. What is the "+" for and how is this set in chmod? Thanks again, Could this be part of the issue. |
Give programs accessing scsi (or scsi emulated) devices through pass-through dev (sg*) SUID permissions.
It can be done with K3b setup or manually (as root) by #chmod 4711 /path/to/cdrecord #chmod 4711 /path/to/cdrdao If you are a paranoid and do not want anyone else using optical drives but you, add a group to your system (ie optical) and #chown root:optical /path/to/cdrecord #chmod 4710 /path/to/cdrecord and so on.. Just remember adding yourself into optical group Hope this helps ciao |
chmod g+w /dev/sr{0,1}
|
Tried both solutions above with no success.
I think the problems was the umask settings when I installed k9copy and necessary libraries... Time to punt.. Reinstall and start clean.. Any one know of a good solid set of instructions to get dvd/cd applications working like k9copy etc..? Thanks for everyones help here... |
All times are GMT -5. The time now is 02:55 AM. |