The problem is that ptal-mlcd is running as a non-root user and is trying to use iopl() to grant itself permission to directly mess with the parallel IO port. iopl() only works for root.
Looks like this bug only affects parallel printers. The iopl() man page says "Permissions are inherited by fork and exec.", so one solution may be to make the iopl() call from the init script. Which, BTW, needs a dose of "use English;". What the hell is this mess? $( = $) = "$gpw[2] $gpw[2] $agpw[2]"; $< = $> = $upw[2]; That's just line noise! One other solution is to run ptal-mlcd as root, then get it to drop privileges itself after calling iopl(). This is probably the best/neatest solution but also the more difficult one to implement. -- Sam "Eddie" Couter | mailto:[EMAIL PROTECTED] Debian Developer | mailto:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
signature.asc
Description: Digital signature