Bug#374685: nautilus-cd-burner: fails to call cdrecord properly
Josselin Mouette
joss at debian.org
Thu Jun 22 14:08:51 UTC 2006
reassign 374685 cdrecord
retitle 374685 cdrecord fails if not setuid root
thanks
Le mercredi 21 juin 2006 à 02:26 +1000, Anand Kumria a écrit :
> nautilus-cd-burner fails to call cdrecord correctly; and thus fails to
> burn an ISO image.
> eve:[~]% cdrecord.mmap fs=16m dev=/dev/hdc -dao driveropts=burnfree -v -data -nopad /home/anand/Desktop/data.iso
8< 8< 8<
> cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
>
> Run this command via sudo and it succeeds, even though I think I have
> the permissions setup correctly:
>
> eve:[~]% ls -l /dev/cdrom
> lrwxrwxrwx 1 root root 3 2006-06-16 20:24 /dev/cdrom -> hdc
> eve:[~]% ls -l /dev/hdc
> brw-rw---- 1 root cdrom 22, 0 2006-06-16 20:23 /dev/hdc
> eve:[~]% groups
> anand dialout cdrom floppy audio video plugdev camera
I can perfectly reproduce the problem with a completely different setup
(Sony USB burner), with cdrecord failing while device permissions are
correct. By making cdrecord setuid root, things work again.
This is a serious regression from the sarge version, in which the setuid
bit is not needed.
Cheers,
--
.''`. Josselin Mouette /\./\
: :' : josselin.mouette at ens-lyon.org
`. `' joss at debian.org
`- Debian GNU/Linux -- The power of freedom
More information about the Pkg-gnome-maintainers
mailing list