Git Bash Permission Denied

I am trying to use git bash but I keep getting a permission denied error whenever using ‘mkdir git_practice’

image

How can I solve this?

Welcome to the Forum.

It looks like you don’t have write permissions for the current directory. The dirty fix is just running git bash as administrator. This is not recommended though since you can screw things up pretty easily poking around with an admin terminal.

One thing that you can do to check is run pwd . This will tell you what directory you are in. If it lists just a / , this means you are in the root directory and wont have write permissions. For most users you don’t have many permissions outside off your home folder. You can navigate to your home folder by entering cd home . From there you should have permission to do whatever you want / need to do.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.