Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions startupscript/gcp/resource-mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ else
emit "gcsfuse already installed. Skipping installation."
fi

# Uncomment user_allow_other in the fuse.conf to enable non-root user to mount files with -o allow-other option.
sed -i '/user_allow_other/s/^#//g' /etc/fuse.conf

if [[ "${LOG_IN}" == "true" ]]; then
${RUN_AS_LOGIN_USER} "'${WORKBENCH_INSTALL_PATH}' resource mount --allow-other || echo 'Resource mounting failed.'"
fi
4 changes: 4 additions & 0 deletions startupscript/post-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ fi
#############################
# Mount buckets
#############################

# Uncomment user_allow_other in the fuse.conf to enable non-root user to mount files with -o allow-other option.
sed -i '/user_allow_other/s/^#//g' /etc/fuse.conf

source "${CLOUD_SCRIPT_DIR}/resource-mount.sh"

###############################
Expand Down