On Thu, May 25, 2000 at 05:00:25PM -0500, eric clover wrote:
> im trying to burn cd's using gtoaster (gnome-toaster), after much chowning I
> got all my cd
> drives to work( 1 scsi cdr , 1 scsi cdrom & 1 ide cdrom )
> I can load files to be burnt , but now I can not get it to do the actual
> burn. I am getting permission errors. below are the errors. is there any
> fixes that anyone knows of??
> (btw , I am not logged in as root(if you haven't guessed already))
>
> GnomeToaster Recording Terminal
> Recording 569271024 bytes to CD
> Cdrecord 1.8.1a02 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg
> Schilling
> cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Operation not permitted. WARNING: Cannot set priority using
> nice().
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> cdrecord: Operation not permitted. shmctl failed to lock shared memory
> segment
A lot of the things gtoaster is trying to do (tweak the process priority
and kernel scheduling and device reservation) can only be done by uid 0.
There's three fixes to this problem.
1) setuid 0 the gtoaster binary
2) remove these function calls from the program and try to play nice on
the system while it's burning CD's.
3) Re-write gtoaster so that the code which frobs those settings is
separate from the main app and can be in it's own small setuid binary that
is simpler and can be written in a secure manner.
--
Steve Borho Voice: 314-615-6365
Member of Technical Staff
Celox Networking Inc
Fortune of the day:
A little experience often upsets a lot of theory.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.