Skip to content

Commit

Permalink
Remove slow and unnecessary workspace permissions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Feb 27, 2024
1 parent 37e1947 commit 7119e45
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build/COPY_ROOT/opt/ai-dock/bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ function init_main() {
# Redirect output to files - Logtail will now handle
init_sync_mamba_envs > /var/log/sync.log 2>&1
init_sync_opt >> /var/log/sync.log 2>&1
init_set_workspace_permissions >> /var/log/sync.log 2>&1
rm /run/workspace_sync
init_source_preflight_scripts > /var/log/preflight.log 2>&1
init_debug_print > /var/log/debug.log 2>&1
Expand Down Expand Up @@ -410,11 +409,6 @@ init_sync_opt() {
fi
}

init_set_workspace_permissions() {
# Ensure the workspace owner/container user can access files from outside of the container
/opt/ai-dock/bin/fix-permissions.sh -o workspace
}

function init_set_cf_tunnel_wanted() {
if [[ -n $CF_TUNNEL_TOKEN ]]; then
export SUPERVISOR_START_CLOUDFLARED=1
Expand Down

0 comments on commit 7119e45

Please sign in to comment.