bundles/scansnap: chown files to nobody-nogroup
This commit is contained in:
parent
b5fb5dd6c2
commit
0c0a8e6263
2 changed files with 3 additions and 3 deletions
|
@ -13,4 +13,6 @@ ocrmypdf -l deu ${OUTFILE}.pdf ${OUTFILE}.OCR.pdf
|
|||
rm -f ${OUTFILE}_*.tiff
|
||||
rm -f ${OUTFILE}.pdf
|
||||
|
||||
chown nobody:nogroup "${OUTFILE}.OCR.pdf"
|
||||
|
||||
mv "${OUTFILE}.OCR.pdf" "/srv/scansnap/${DATE}.pdf"
|
||||
|
|
|
@ -119,9 +119,7 @@ nodes['home.nas'] = {
|
|||
'172.19.138.0/24(ro,all_squash,anonuid=65534,anongid=65534,no_subtree_check)',
|
||||
},
|
||||
'/srv/scansnap': {
|
||||
# uid 121 -> saned
|
||||
# gid 120 -> scanner
|
||||
'172.19.138.0/24(rw,all_squash,anonuid=121,anongid=120,no_subtree_check)',
|
||||
'172.19.138.0/24(rw,all_squash,anonuid=65534,anongid=65534,no_subtree_check)',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue