summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey2016-10-24 11:28:21 +0200
committerHarvey2016-10-24 11:28:21 +0200
commitacc3bdc217d53021115fdcf1e11bcfcd0c4c473c (patch)
treef0e8b9deabd58af42cd85b89ef90fbfde2f0ba19
parent9750caac03cea65e754d773e85fa871f21d51624 (diff)
downloadaur-acc3bdc217d53021115fdcf1e11bcfcd0c4c473c.tar.gz
changed device node ownership to lp group to circumvent permission problems
-rwxr-xr-xmk-udev-rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk-udev-rules b/mk-udev-rules
index 951ba28b9ad..8f00b79e38e 100755
--- a/mk-udev-rules
+++ b/mk-udev-rules
@@ -8,7 +8,8 @@ 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=\"scanner\", ENV{libsane_matched}=\"yes\"";
+ print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"lp\", ENV{libsane_matched}=\"yes\"";
}
END {
print "LABEL=\"brscan4_end\"";