Re: selectively disabling ACLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 5, 2009 at 18:47, Matthias Schwarzott<zzam@xxxxxxxxxx> wrote:
> On Mittwoch, 5. August 2009, Kay Sievers wrote:
>> I guess the current logic could just check ACL_MANAGE=0, and skip the
>> device if that is set?
>>
> Then one has to copy possibly complicated matching logic just to revert the
> result.
> Why not let the match rules set some kind of ACL_CLASS to some user friendly
> name. (examples: block, sound, ptp, mtp, scanner, printer, optical, v4l,
> dvb, ...)
>
> That way one can add rules like this to disable acl for joysticks
> ENV{ACL_MANAGE}=="1", ENV{ACL_CLASS}=="joystick", ENV{ACL_MANAGE}="0"

For now, that all should be as simple as possible, and not spread
around packages with magic properties. It will likely change all with
the upcoming multi-seat support, which needs its own configuration and
which could define such facility.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux