On Mon, Feb 27, 2012 at 12:07, Mark Morgan Lloyd <[email protected]> wrote: > Henry Vermaak wrote: >> >> On 26/02/12 13:29, Mark Morgan Lloyd wrote: > > >>> I've had this sort of requirement in the past, specifically when using >>> libusb (i.e. the program needed sufficient privilege to grab the device). >> >> >> You need udev rules that set the user/group permissions for the devices >> that you use. You don't need to run as root. > > > I'd be happy to be proven wrong, but my understanding is that you do since > there is one specific kernel call (in effect, telling the kernel to release > an unrecognised device to an unprivileged program) that won't work > otherwise.
Close, I'm using libraries that talk with kernel space, and require root access to work, and it's not a GUI application. > > > -- > Mark Morgan Lloyd > markMLl .AT. telemetry.co .DOT. uk > > [Opinions above are the author's, not those of his employers or colleagues] > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
