app_containers: Don't perform privileged operations in cleanup
This commit is contained in:
parent
bc418c3776
commit
bee621e0a7
1 changed files with 0 additions and 4 deletions
|
@ -10,10 +10,6 @@ cleanup() {
|
|||
# Remove the temporary facl-based permissions
|
||||
setfacl -x u:$((user_on_host)) $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
|
||||
xhost -si:localuser:\#$((user_on_host))
|
||||
|
||||
for input in $(find /dev/input -type c); do
|
||||
sudo setfacl -x u:$user_on_host $input
|
||||
done
|
||||
}
|
||||
|
||||
[ -z "$CONTAINER_NAME" ] && die "\$CONTAINER_NAME not set"
|
||||
|
|
Loading…
Add table
Reference in a new issue