diff --git a/scripts/container-manager.sh b/scripts/container-manager.sh index e8b831df2b7f8f38955805ecaaf1bbe563a2fc0f..ba708ebf5a61951978f55df26e2616403132d56c 100755 --- a/scripts/container-manager.sh +++ b/scripts/container-manager.sh @@ -95,7 +95,7 @@ start() { fi # Ensure FUSE support for user namespaces is enabled - echo Y > /sys/module/fuse/parameters/userns_mounts + echo Y | sudo tee /sys/module/fuse/parameters/userns_mounts || echo "WARNING: kernel doesn't support fuse in user namespaces" exec $SNAP/usr/sbin/aa-exec -p unconfined -- $SNAP/bin/anbox-wrapper.sh container-manager }