aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bwrap/iceweasel-uxp-private.bash6
-rw-r--r--bwrap/iceweasel-uxp.bash6
2 files changed, 6 insertions, 6 deletions
diff --git a/bwrap/iceweasel-uxp-private.bash b/bwrap/iceweasel-uxp-private.bash
index f91c3f4..ad827c4 100644
--- a/bwrap/iceweasel-uxp-private.bash
+++ b/bwrap/iceweasel-uxp-private.bash
@@ -31,7 +31,7 @@ set -euo pipefail
--ro-bind /var/cache/fontconfig /var/cache/fontconfig \
--ro-bind /var/lib/alsa /var/lib/alsa \
--bind-try /tmp/sndio /tmp/sndio \
- --bind-try /tmp/sndio-1000 /tmp/sndio-1000 \
+ --bind-try /tmp/sndio-"$(id -u)" /tmp/sndio-"$(id -u)" \
--bind-try "${HOME}/.sndio" "${HOME}/.sndio" \
--bind "${HOME}/Descargas" "${HOME}/Descargas" \
--chdir "${HOME}" \
@@ -45,7 +45,7 @@ set -euo pipefail
--file 12 /etc/group \
--new-session \
/usr/bin/iceweasel-uxp) \
- 11< <(getent passwd $UID 65534) \
- 12< <(getent group "$(id -g)" 65534)
+ 11< <(getent passwd $UID 65534 audio) \
+ 12< <(getent group "$(id -g)" 65534 audio)
# note: running iceweasel-uxp on private mode sanbox
diff --git a/bwrap/iceweasel-uxp.bash b/bwrap/iceweasel-uxp.bash
index af69846..2b1d0ca 100644
--- a/bwrap/iceweasel-uxp.bash
+++ b/bwrap/iceweasel-uxp.bash
@@ -32,7 +32,7 @@ set -euo pipefail
--ro-bind /var/cache/fontconfig /var/cache/fontconfig \
--ro-bind /var/lib/alsa /var/lib/alsa \
--bind-try /tmp/sndio /tmp/sndio \
- --bind-try /tmp/sndio-1000 /tmp/sndio-1000 \
+ --bind-try /tmp/sndio-"$(id -u)" /tmp/sndio-"$(id -u)" \
--bind-try "${HOME}/.sndio" "${HOME}/.sndio" \
--ro-bind "${HOME}/.Xauthority" "${HOME}/.Xauthority" \
--bind "${HOME}/.cache/hyperbola" "${HOME}/.cache/hyperbola" \
@@ -54,7 +54,7 @@ set -euo pipefail
--file 12 /etc/group \
--new-session \
/usr/bin/iceweasel-uxp) \
- 11< <(getent passwd $UID 65534) \
- 12< <(getent group "$(id -g)" 65534)
+ 11< <(getent passwd $UID 65534 audio) \
+ 12< <(getent group "$(id -g)" 65534 audio)
# note: running iceweasel-uxp mode sanbox