From: Erfan Abdi Date: Sat, 5 Jun 2021 13:41:39 +0000 (+0430) Subject: anbox: Set permission for more nodes X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/e357496ce1b2ecf59c2336037df68e502629417c anbox: Set permission for more nodes --- diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 549b43f..8786995 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -62,6 +62,7 @@ mount -o remount,ro rootfs/vendor # Anbox binder permissions chmod 666 /dev/anbox-*binder +chmod 777 /dev/ashmem # Wayland socket permissions chmod 777 -R /run/user/32011 @@ -78,4 +79,9 @@ chmod 777 /dev/mtk_cmdq chmod 777 /dev/video32 chmod 777 /dev/video33 +# Graphics nodes permissions +chmod 777 -R /dev/dri/* +chmod 777 -R /dev/graphics/* +chmod 777 -R /dev/fb* + lxc-start -n anbox -F -- /init