SuSE 11.1 64 bit AMD Athlon 64 3200
When a closed CD or DVD is in the drive:
trekjunky@linux-tgrr:~> getfacl /dev/sr0
getfacl: Removing leading ‘/’ from absolute path names
file: dev/sr0
owner: root
group: disk
user::rw-
group::rw-
mask::rw-
other::—
trekjunky@linux-tgrr:~>
When a blank dvd-r is in the drive:
trekjunky@linux-tgrr:~> getfacl /dev/sr0
getfacl: Removing leading ‘/’ from absolute path names
file: dev/sr0
owner: root
group: disk
user::rw-
group::rw-
mask::rw-
other::—
trekjunky@linux-tgrr:~>
yet, k3b gives error:
trekjunky@linux-tgrr:~> k3b
trekjunky@linux-tgrr:~> (K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_3550A to device /dev/sr0
/dev/sr0 resolved to /dev/sr0
(K3bDevice::Device) could not open device /dev/sr0 for reading
(Permission denied)
could not open device /dev/sr0 (Permission denied)
/dev/sr0 resolved to /dev/sr0
(K3bDevice::Device) could not open device /dev/sr0 for reading
(Permission denied)
could not open device /dev/sr0 (Permission denied)
Devices:
so I ran this:
trekjunky@linux-tgrr:~> su
Password:
linux-tgrr:/home/trekjunky # cd /dev/
linux-tgrr:/dev # chmod 777 sr0
linux-tgrr:/dev # exit
exit
and then k3b worked:
BUT,
if I open and close the DVD drive, k3b no longer works, also I ran this command and k3b gave the same error as above:
trekjunky@linux-tgrr:~> su
Password:
linux-tgrr:/home/trekjunky # cd /dev/
linux-tgrr:/dev # chmod 770 sr0
linux-tgrr:/dev # exit
exit
What I think is happening is that K3B starts with “Other” being the owner. I don’t know how to make it start with "User"being the owner.
I guess a work-around would be to change the default permissions assigned to /dev/sr0 when the drive is open and closed, but I don’t know how to do this.
Any help would be greatly appreciated.
Thanks,
Cane AKA TrekJunky