Skip to content

Commit

Permalink
p: fix ssh socket ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
pdesjardins90 committed Jul 13, 2024
1 parent b7e82e7 commit 36529e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ _entrypoint() {
DIRECTORY="$(dirname "$DIRECTORY")"
done

# Rationalize ownership of SSH socket
sudo chown "$USERNAME" "$SSH_AUTH_SOCK"

# Exec provided command or pause to keep container alive
if [ $# -gt 0 ]; then
"$@"
Expand Down

0 comments on commit 36529e6

Please sign in to comment.