sbs20 / scanservjs

SANE scanner nodejs web ui
https://sbs20.github.io/scanservjs/
GNU General Public License v2.0
766 stars 145 forks source link

Fix bootstrap for `deb` files #687

Closed sbs20 closed 1 year ago

sbs20 commented 1 year ago

APT installs stuff with a sandboxed user called _apt. It doesn't have access to the temp directory because mktemp uses restrictive permissions.

Solution inspired from https://askubuntu.com/a/1205517