[Lazarus] run program in ide with sudo for debug purpose
ik
idokan at gmail.com
Mon Feb 27 11:09:20 CET 2012
On Mon, Feb 27, 2012 at 12:07, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list