Im trying to git clone

git clone cp /usr/Desktop

But it comes up with cannot create regular file '/usr/Desktop': Permission denied every time

  • 3
    It's unclear what you are actually trying to do, but it's clear and understandable that you can't create /usr/Desktop as a non-privileged user. If you could possibly describe a bit about what you want to achieve by that command, it would be helpful. – Kusalananda Mar 7 at 20:59

/usr/Desktop is not where you GUI desktop directory is stored. It's most likely in /home/<username>/Desktop

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.