bundles/scansnap: chown files to nobody-nogroup

This commit is contained in:
Franzi 2021-04-21 18:18:27 +02:00
parent b5fb5dd6c2
commit 0c0a8e6263
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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)',
},
},
},