Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied during installation process in ./bootstrap.sh #4

Open
EastLord opened this issue Aug 15, 2024 · 1 comment
Open

Comments

@EastLord
Copy link

Thank you very much for providing this script
Steps to Reproduce:

  1. Clone the repository.
  2. Run ./bootstrap.sh.
  3. Provide the root password when prompted.
  4. Observe the error message.

Expected Behavior:
The script should successfully copy and set the correct permissions for wifi-loc-control.sh without any permission errors.

Actual Behavior:
The script fails to copy wifi-loc-control.sh to /usr/local/bin/ due to a permission denied error.

Environment:

  • macOS version: [macOS 14.6.1]
  • Shell: [zsh]
  • Terminal: [iTerm2]

Additional Information:
It seems that the script either doesn't have the required permissions or there's a problem with the file path during the installation process. Please look into this issue and advise on how to resolve it.

@dejuknow
Copy link

dejuknow commented Nov 7, 2024

I ran into the same issue. I worked around it by manually running every line in bootstrap.sh.

For me, the only line that returned the permission denied error was line 15:
cp -f $SCRIPT_NAME $INSTALL_DIR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants