X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fudev-acl%2F70-acl.rules;h=fde265693c53814b99aa3483e03d9f8771a7825b;hb=23325a66ccf3a2f90a4f5d1702f60408187de28a;hp=8380f53eb330446c7abe04d069291e4ef8610f94;hpb=bba10e1c9205d210fc61a0ae9f12f7629562169c;p=elogind.git diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index 8380f53eb..fde265693 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -1,7 +1,9 @@ # do not edit this file, it will be overwritten on update +# Do not use ACL_MANAGE outside of this file. This variable is private to +# udev-acl of this udev release and may be replaced at any time. + ENV{MAJOR}=="", GOTO="acl_end" -ENV{ACL_MANAGE}=="0", GOTO="acl_end" ACTION!="add|change", GOTO="acl_apply" # PTP/MTP protocol devices, cameras, portable media players @@ -69,7 +71,7 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c02", ENV{ACL_MANAG ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1" # apply ACL for all locally logged in users -LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \ +LABEL="acl_apply", ENV{ACL_MANAGE}=="1", TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" LABEL="acl_end"