Skip to content

Commit b9e459a

Browse files
fix: set 0755 permissions on entrypoint script
chmod +x only adds execute bits but doesn't ensure read permission. When the build umask strips read for group/other, the resulting 711 permissions prevent the vscode user from reading the shell script, causing silent execution failure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7d2d90a commit b9e459a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/dbr/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ echo "Installing entrypoint script..."
106106
mkdir -p /usr/local/share/dbr
107107
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
108108
cp "${SCRIPT_DIR}/entrypoint.sh" /usr/local/share/dbr/entrypoint.sh
109-
chmod +x /usr/local/share/dbr/entrypoint.sh
109+
chmod 0755 /usr/local/share/dbr/entrypoint.sh
110110

111111
echo "Done! dbr ${VERSION} installed to ${INSTALL_DIR}/dbr"
112112
echo "dbr-open hardlink created at ${INSTALL_DIR}/dbr-open"

0 commit comments

Comments
 (0)