summarylogtreecommitdiffstats
path: root/spool.patch
blob: 67aa34f32504d758790347d6de9b18c8c5c8497f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- opt/brother/Printers/dcpt820dw/inf/setupPrintcapij.old	2020-08-08 23:58:20.000000000 +0200
+++ opt/brother/Printers/dcpt820dw/inf/setupPrintcapij	2020-08-08 23:58:38.000000000 +0200
@@ -32,9 +32,9 @@
 case "$2" in
 	-i)
 	if [ ! -d $SPOOLER_NAME ]; then
-	        mkdir $SPOOLER_NAME
+	        mkdir -p $SPOOLER_NAME
 	fi
-	chown lp $SPOOLER_NAME
+	chown root $SPOOLER_NAME
 	chgrp lp $SPOOLER_NAME
 	chmod 700 $SPOOLER_NAME