[BUG] main.sh is not executable
Describe the bug After clearing the changes to the local project, which was the execute bit on main.sh, and doing a manual pull, main.sh remains non-executable without manual intervention.
To Reproduce Steps to reproduce the behavior:
- Historical steps to install and update repeatedly over time.
- Manually pull the updates
- Attempt to run
ds - See error:
user@dockstarter:~$ ds
-bash: /usr/local/bin/ds: Permission denied
user@dockstarter:~$ ls -la /usr/local/bin/ds
lrwxrwxrwx. 1 root root 27 Aug 10 22:20 /usr/local/bin/ds -> /home/user/.docker/main.sh
user@dockstarter:~$ ls -la /home/user/.docker/main.sh
-rw-r--r--. 1 user user 14945 Oct 26 15:42 /home/user/.docker/main.sh
user@dockstarter:~$
Expected behavior Executing ds should work.
Screenshots N/A
System (please complete the following information):
- OS: Fedora Linux
- Version 42 (Server Edition)
Additional context After manually adding the execute bit to main.sh, it runs:
user@dockstarter:~$ ds -h
-bash: /usr/local/bin/ds: Permission denied
user@dockstarter:~$ ls -la /usr/local/bin/ds
lrwxrwxrwx. 1 root root 27 Aug 10 22:20 /usr/local/bin/ds -> /home/user/.docker/main.sh
user@dockstarter:~$ ls -la /home/user/.docker/main.sh
-rw-r--r--. 1 user user 14945 Oct 26 15:47 /home/user/.docker/main.sh
user@dockstarter:~$ chmod +x /home/user/.docker/main.sh
user@dockstarter:~$ ds -h
2025-10-26 15:48:23 [NOTICE] DockSTARTer command: 'ds -h'
Usage: ds [<Flags>] [<Command>] ...
NOTE: The 'ds' shortcut is only available after the first run of
bash main.sh
DockSTARTer [main commit 95c146eba]
This is the main DockSTARTer script.
# Truncated
But that change has to be reverted any time someone needs to use git pull to get the updates.
Odd, we had that bit set, not sure how it got unset. Generally you don't need to do a git pull yourself, though, you would update with ds -u which pulls it and sets the executable bit for you.