[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cdrecord and linux 2.6.12



Tim Ruehsen wrote:
> I recently had a similar problem. After starting the k3b installation 
> assistant, /usr/bin/cdrecord.mmap lost it's set-uid bit. I reinstalled it 
> with chmod u+s /usr/bin/cdrecord.mmap and now, k3b works fine again (do not 
> start k3b assistant).
> 
> # l /usr/bin/cdrec*
> -rwsr-xr--  1 root cdrom    133 Sep 21 03:17 /usr/bin/cdrecord
> -rwsr-xr--  1 root cdrom 323540 Sep 21 03:17 /usr/bin/cdrecord.mmap
> -rwsr-xr--  1 root cdrom 323540 Sep 21 03:17 /usr/bin/cdrecord.shm

A suggestion which has worked well for me under any kernel is to use
sudo. Where K3b asks for tools, just preface them with "sudo". Configure
sudo to use no password for cdrdao and cdrecord, and drop the suid bits
on those files. For a user named "tim", root uses visudo like so:

tim  ALL = (ALL) PASSWD: ALL, NOPASSWD: /usr/bin/cdrdao, /usr/bin/cdrecord



Reply to: