binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
444 stars 47 forks source link

UMASK variable affects scripts created in `/tmp` #260

Open mreilaender opened 2 months ago

mreilaender commented 2 months ago

Changing the UMASK variable to e.g. 007 results in permission denied:

2024-07-17 23:19:27,019 DEBG 'watchdog-script' stderr output:
/usr/local/bin/tools.sh: line 475: /tmp/getiptables: Permission denied

Expected

UMASK variable only affects files created by qbittorrent

Actual

UMASK changes permissions for scripts created in /tmp

This makes the UMASK variable effectively unusable.

bland328 commented 1 month ago

Thanks for posting this. I just ran into it, as well, and was starting to pull my hair out chasing it.

Setting UMASK back to 000 fixed everything up.