X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/ead0f6940830256ecbccaddff182bb5e1c318324..d5a1bf0276ed706d24fab4520ac5418ca1cebb34:/scripts/run-container.sh diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 05f1a08..051b429 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -50,8 +50,11 @@ fi chmod 666 /dev/anbox-*binder chmod 777 /dev/ashmem -# Wayland socket permissions -chmod 777 -R /run/user/32011 +# Wayland and pulse socket permissions +XDG_PATH=`cat anbox.prop | grep anbox.xdg_runtime_dir | cut -f 2- -d "="` +PULSE_PATH=`cat anbox.prop | grep anbox.pulse_runtime_path | cut -f 2- -d "="` +chmod 777 -R $PULSE_PATH +chmod 777 -R $XDG_PATH # Set sw_sync permissions chmod 777 /dev/sw_sync