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

Perrmission denied #301

Open
ijnstijn opened this issue Nov 24, 2023 · 1 comment
Open

Perrmission denied #301

ijnstijn opened this issue Nov 24, 2023 · 1 comment

Comments

@ijnstijn
Copy link

I dit this:
ijnstijn2009@penguin:~$ cd /opt
ijnstijn2009@penguin:/opt$ git clone https://github.com/ultrasecurity/Storm-Breaker.git
fatal: could not create work tree dir 'Storm-Breaker': Permission denied
ijnstijn2009@penguin:/opt$ git clone https://github.com/ultrasecurity/Storm-Breaker
fatal: could not create work tree dir 'Storm-Breaker': Permission denied

What did i do wrong?

@allset56-dev
Copy link

It seems like you're encountering a permission issue while trying to clone the Git repository into the /opt directory. Here are a few things to consider and potential solutions:

  • Permissions: The /opt directory might require superuser privileges to write to it. You can try running the command with sudo:

sudo git clone https://github.com/ultrasecurity/Storm-Breaker.git

  • Ownership: It's possible that the /opt directory is owned by the root user, and you might not have the necessary permissions to write to it. You can check the ownership and permissions of the /opt directory using the ls -l /opt command.

  • Alternative Location: If you're unable to clone the repository into the /opt directory due to permission issues, consider cloning it into a different directory where you have write permissions, such as your home directory.

  • User Configuration: Another factor to consider is the configuration of your Git client and the user account under which you're running the command. Make sure that your Git client is properly configured and that you have the necessary permissions to clone repositories.

Try the above steps and let me know if you encounter any issues.

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