On 26 Dec 2002 20:12:07 +0100
Alexandr Malusek
Alexandr Malusek
writes: On my system, the ownership of /dev/cdrom changes when I log in:
$ ls -lL /dev/cdrom brw------- 1 malusek malusek 11, 0 Sep 24 2001 /dev/cdrom
But I don't know how to force this change for /dev/dvd too.
And here the owenership is root disk.
It seems the PAM's pam_devperm module is responsible for the ownership change. But /dev/dvd is listed in the file :0 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 /dev/logindevperm:
:0 0600 /dev/dvd:/dev/dvd1:/dev/dvd2:/dev/dvd3
Here the logindevperm is in /etc: :0 0600 /dev/cdrecorder:/dev/cdrecorder1:/dev/cdrecorder2:/dev/cdrecorder3 :0 0600 /dev/dvd:/dev/dvd1:/dev/dvd2:/dev/dvd3
so I think you should automatically become the owner of /dev/dvd when you log in.
Sounds reliable :-)
Did you log out and log in after the symbolic link change? If not do it and check the ownership via "ls -lL /dev/dvd /dev/cdrecorder".
Yes I did log out and log in. erik@eurit:~> ls -lL /dev/dvd /dev/cdrecorder brw-r----- 1 root disk 11, 1 2002-09-09 22:24 /dev/cdrecorder brw-r----- 1 root disk 11, 0 2002-09-09 22:24 /dev/dvd
-- Alexandr.Malusek@imv.liu.se
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Med venlig hilsen - Best regards - vy73 de OZ4KK. Erik Jakobsen - eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org SuSE linux 8.1 - VMware 3.2 - WIN98SE.