fix user run path
This commit is contained in:
parent
dc4b703310
commit
a9b1057f97
|
@ -14,8 +14,8 @@ set -euo pipefail
|
|||
--dev /dev \
|
||||
--ro-bind /tmp/.X11-unix /tmp/.X11-unix \
|
||||
--ro-bind /etc/fonts /etc/fonts \
|
||||
--bind /run/user/`id -u`/dconf /run/user/`id -u`/dconf \
|
||||
--bind /run/user/`id -u`/bus /run/user/`id -u`/bus \
|
||||
--bind /run/user/"$(id -u)"/dconf /run/user/"$(id -u)"/dconf \
|
||||
--bind /run/user/"$(id -u)"/bus /run/user/"$(id -u)"/bus \
|
||||
--bind ~/ ~/ \
|
||||
--ro-bind ~/.Xauthority ~/.Xauthority \
|
||||
--tmpfs ~/.gnupg \
|
||||
|
|
|
@ -31,7 +31,7 @@ set -euo pipefail
|
|||
--ro-bind /etc/mime.types /etc/mime.types \
|
||||
--ro-bind /etc/pulse /etc/pulse \
|
||||
--tmpfs /run \
|
||||
--ro-bind /run/user/1000/wayland-0 /run/user/1000/wayland-0 \
|
||||
--ro-bind /run/user/"$(id -u)"/wayland-0 /run/user/"$(id -u)"/wayland-0 \
|
||||
--bind ~/.mozilla /home/jail/.mozilla \
|
||||
--bind ~/.cache/mozilla /home/jail/.cache/mozilla \
|
||||
--bind ~/Downloads /home/jail/Downloads \
|
||||
|
|
|
@ -17,8 +17,8 @@ set -euo pipefail
|
|||
--ro-bind /tmp/.X11-unix /tmp/.X11-unix \
|
||||
--ro-bind /etc /etc \
|
||||
--ro-bind /sys /sys \
|
||||
--bind /run/user/`id -u`/dconf /run/user/`id -u`/dconf \
|
||||
--bind /run/user/`id -u`/bus /run/user/`id -u`/bus \
|
||||
--bind /run/user/"$(id -u)"/dconf /run/user/"$(id -u)"/dconf \
|
||||
--bind /run/user/"$(id -u)"/bus /run/user/"$(id -u)"/bus \
|
||||
--bind ~/ ~/ \
|
||||
--tmpfs ~/.gnupg \
|
||||
--tmpfs ~/.ssh \
|
||||
|
|
Loading…
Reference in New Issue