sbs20 / scanservjs

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

Fix bootstrap for `deb` files #687

Closed sbs20 closed 7 months ago

sbs20 commented 7 months 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