On Tue, Nov 27, 2001 at 04:49:31PM +0000, Sam Halliday wrote:
> hello,
> 
> i have set up cdrecord on my sysem allowing certain privileged users part of 
> a "cdwriter" group to use the relevant SCSI devices so that they may write 
> cd's. although this seems to be running well, users who are not root all get 
> the following warning when writing cd's:
> ---
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Permission denied. WARNING: Cannot set priority using 
> setpriority().
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> ---
No devices, the matter is the scheduling policy:

Processes scheduled with SCHED_OTHER must be assigned the static priority 0,
processes scheduled under SCHED_FIFO or SCHED_RR can have a static priority
in the range 1 to 99. Only processes with superuser privileges can get a
static priority higher than 0 and can therefore be scheduled under
SCHED_FIFO or SCHED_RR.

>From man sched_setscheduler (POSIX.1b)

--
        Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.mascanc.net
DOS - Defective Operating System
IBM - I Blame Microsoft
BASIC - Bill's Attempt to Seize Industry Control
WINDOWS - Will Install Needless Data On Whole System
MICROSOFT - Most Intelligent Customers Realize Our Software Only Fools Teenagers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to