Merge branch 'patch-1' into 'master'
Fixes using the docker image in a MacOSX host and /dev/fuse having restricted permissions See merge request redox-os/redox!1205
This commit is contained in:
commit
e374efba0c
|
@ -26,4 +26,9 @@ if [ $CACHED_UID != $RUN_UID ] || [ $RUN_GID != $CACHED_GID ]; then
|
||||||
chown $RUN_UID:$RUN_GID -R $CARGO_HOME $RUSTUP_HOME
|
chown $RUN_UID:$RUN_GID -R $CARGO_HOME $RUSTUP_HOME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# fixes issue in docker for mac where fuse permissions are restricted to root:root
|
||||||
|
# https://github.com/theferrit32/data-commons-workspace/issues/5
|
||||||
|
# https://github.com/heliumdatacommons/data-commons-workspace/commit/f96624c8a55f5ded5ac60f4f54182a59be92e66d
|
||||||
|
if [ -f /dev/fuse ]; then chmod 666 /dev/fuse; fi
|
||||||
|
|
||||||
exec gosu $USER_NAME "$@"
|
exec gosu $USER_NAME "$@"
|
||||||
|
|
Loading…
Reference in a new issue