Skip to content

Commit

Permalink
fix file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ITProKyle committed Jun 21, 2024
1 parent 6ebf058 commit 8c0e607
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ lint-shellcheck: ## lint shell scripts using shellcheck
bash ./tests/shellcheck.sh && \
echo ""

permissions: ## set script permissions
@find ./vscode/rootfs/etc/s6-overlay/s6-rc.d -type f \( -name run -or -name finish \) -prune -exec chmod +x {} \;
@find ./vscode/rootfs/usr/local/bin -type f -prune -exec chmod +x {} \;

run-pre-commit: ## run pre-commit for all files
@poetry run pre-commit run $(PRE_COMMIT_OPTS) \
--all-files \
Expand Down
2 changes: 1 addition & 1 deletion vscode/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ startup: services
uart: true
url: https://github.com/finleyfamily/hass-addon-vscode
usb: true
version: 0.0.0-dev2
version: 0.0.0-dev3
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/code-server/finish
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/code-server/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/init-code-server/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/init-mosquitto/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/init-mysql/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/init-ssh/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/init-user/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/sshd/finish
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/etc/s6-overlay/s6-rc.d/sshd/run
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/usr/local/bin/code
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/usr/local/bin/reboot
100644 → 100755
Empty file.
Empty file modified vscode/rootfs/usr/local/bin/shutdown
100644 → 100755
Empty file.

0 comments on commit 8c0e607

Please sign in to comment.