On Wednesday 29 April 2009 11:29:48 am Duaine & Laura Hechler wrote:
James Knot wrote:
Duaine & Laura Hechler wrote:
Some how, something got set to change the settings on the cd/dvd player dev.
I have to keep changing permissions of /dev/sr0 to allow non-root access.
How do I change it permanently ?
You don't change the permissions on the device. You add yourself to the group that has permissions. However, on my system, the group is "disk", which I don't appear to be a member of. When a CD is mounted, the properties show me as the owner. I have no problem accessing my CD or DVD drives.
That fixed it.
Thanks, Duaine
Interesting. Being disk group gives your normal user extraordinary rights for all you disks, which is equivalent to root. See: ll /dev/* | grep disk Here is a part of mine: ... brw-rw---- 1 root disk 8, 0 Apr 29 15:23 /dev/sda brw-rw---- 1 root disk 8, 1 Apr 29 15:23 /dev/sda1 brw-rw---- 1 root disk 8, 2 Apr 29 15:23 /dev/sda2 brw-rw---- 1 root disk 8, 3 Apr 29 15:23 /dev/sda3 brw-rw---- 1 root disk 8, 4 Apr 29 15:23 /dev/sda4 brw-rw---- 1 root disk 8, 5 Apr 29 20:23 /dev/sda5 crw-r----- 1 root disk 21, 0 Apr 29 15:23 /dev/sg0 crw-r----- 1 root disk 21, 1 Apr 29 15:23 /dev/sg1 crw-rw----+ 1 root disk 21, 2 Apr 29 15:23 /dev/sg2 crw-r----- 1 root disk 21, 3 Apr 29 15:23 /dev/sg3 brw-rw----+ 1 root disk 11, 0 Apr 29 15:23 /dev/sr0 Isn't that good, having root access to your hard disks. Making normal user part of disk group defeats all security measures. Misbehaving, or malevolent, application can do with your system all that root can, because, as you can see, disk group has same read write access to disks. -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org