Removes the need to sudo since the script is already running as sudo

This commit is contained in:
Thiago Duarte Areias 2019-06-20 07:47:09 +00:00
parent 4c1086869e
commit d8dae1dfd7

View file

@ -29,6 +29,6 @@ fi
# fixes issue in docker for mac where fuse permissions are restricted to root:root # 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/theferrit32/data-commons-workspace/issues/5
# https://github.com/heliumdatacommons/data-commons-workspace/commit/f96624c8a55f5ded5ac60f4f54182a59be92e66d # https://github.com/heliumdatacommons/data-commons-workspace/commit/f96624c8a55f5ded5ac60f4f54182a59be92e66d
if [ -f /dev/fuse ]; then sudo chmod 666 /dev/fuse; fi if [ -f /dev/fuse ]; then chmod 666 /dev/fuse; fi
exec gosu $USER_NAME "$@" exec gosu $USER_NAME "$@"