app_containers: Set DeviceAllow properly
/dev/dri and /dev/shm are NOT devices.
This commit is contained in:
parent
c64e51a244
commit
2e6e29ed34
|
@ -49,8 +49,7 @@ SUDO_ASKPASS=$HOME/.local/bin/askpass-bemenu sudo -A systemd-nspawn -M $CONTAINE
|
|||
`# GPU` \
|
||||
--bind=/dev/dri \
|
||||
--bind=/dev/shm \
|
||||
--property=DeviceAllow='/dev/dri rw' \
|
||||
--property=DeviceAllow='/dev/shm rw' \
|
||||
--property=DeviceAllow='char-drm rw' \
|
||||
`# Input devices` \
|
||||
--bind-ro=/dev/input \
|
||||
--property=DeviceAllow='char-input r' \
|
||||
|
|
Loading…
Reference in New Issue