On Mon, Feb 16, 2004 at 12:01:18AM +0100, Chris wrote: > On Sun, 2004-02-15 at 11:56, Midnight wrote: > > I've installed k3b on my machine and every time I start k3b > > up, it gives me an error message: "unable to find cdrecord > > executable". > > > > I undoubtedly have cdrecord installed on my machine. > > ls -al cdrecr* in /usr/bin provides the following output: > > -------------------- > > -rws--x--- 1 root cdrom 133 Jan 16 23:51 > > cdrecord > > -rwxr-xr-- 1 root cdrom 343276 Jan 16 23:51 > > cdrecord.mmap > > -rwxr-xr-- 1 root cdrom 343692 Jan 16 23:51 > > cdrecord.shm > > ---------------- > Don't reply to something unrelated with a new question. > > Your problem: > > [EMAIL PROTECTED]:/usr/bin$ cdrecord > > /usr/bin/cdrecord: /usr/bin/cdrecord: Permission denied > > > ls -al cdrecord > > -rws--x--- 1 root cdrom 133 Jan 16 23:51 > > cdrecord > > you belong to the cdrom group which has only executable rights. Not > enough as it seems. Do (as root) chmod g+r /usr/bin/cdrecord and try > again.
Indeed, it looks to me as if something funny has happened to your permissions. With this version of cdrecord, plain "cdrecord" is a shellscript which then calls "cdrecord.mmap" or "cdrecord.shm" according to whether you have a 2.4 or 2.2 kernel. So not only does "cdrecord" need read as well as execute permissions, it's pointless making it suid root. "cdrecord.mmap" and "cdrecord.shm", however, do need to be suid root. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature