[DiscordArchive] does a file actually exist at that location?
[DiscordArchive] does a file actually exist at that location?
Archived author: ceikry • Posted: 2024-09-11T16:13:57.867000+00:00
Original source
does a file actually exist at that location?
Archived author: ceikry • Posted: 2024-09-11T16:14:23.271000+00:00
Original source
what are the contents of that file?
Archived author: Nemean • Posted: 2024-09-11T16:14:45.752000+00:00
Original source
There is a file yes im not sure how to check if its executable
Archived author: ceikry • Posted: 2024-09-11T16:14:58.671000+00:00
Original source
chmod +x /path/to/file.sh
Archived author: ceikry • Posted: 2024-09-11T16:15:02.665000+00:00
Original source
will mark it as executable.
Archived author: Nemean • Posted: 2024-09-11T16:15:24.643000+00:00
Original source
#!/usr/bin/env bash
[ -z "$WITH_ERRORS" ] && set -e
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/apps/installer/main.sh"
Archived author: Nemean • Posted: 2024-09-11T16:15:28.749000+00:00
Original source
Thats the contents
Archived author: ceikry • Posted: 2024-09-11T16:17:19.876000+00:00
Original source
to break it down a little for you
`chmod` - changes file flags. File flags include read, write, and execute permissions for the owner, other users, and groups of users.
`+x` - adds the executable flag for everyone
`/path/to/file.sh` this is just the path to the file
Archived author: ceikry • Posted: 2024-09-11T16:18:02.905000+00:00
Original source
see more info with `man chmod`
Archived author: Nemean • Posted: 2024-09-11T16:18:22.358000+00:00
Original source
Ok brilliant i have run: chmod +x /root/azerothcore/acore.sh