change udev-rules to acl to circumvent group policy problems 2nd try
This commit is contained in:
1 parent
6422147ec2
commit
6a1086e8b9
1 file changed
+1
-2
+1
-2
@@ -8,8 +8,7 @@ BEGIN {
|
||||
NF >= 3 && $1 ~ /^ *0[xX][[:xdigit:]]+ *$/ {
|
||||
id = "000" tolower( substr( $1, 3 ));
|
||||
id = substr( id, length( id ) - 3 );
|
||||
#print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"scanner\", ENV{libsane_matched}=\"yes\"";
|
||||
print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"lp\", ENV{libsane_matched}=\"yes\"";
|
||||
print "ATTR{idProduct}==\"" id "\", ENV{libsane_matched}=\"yes\", RUN+=\"/usr/bin/setfacl -m g:scanner:rw /dev/$name\"";
|
||||
}
|
||||
END {
|
||||
print "LABEL=\"brscan4_end\"";
|
||||
|
||||
Reference in new issue
Block a user