Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,405
Community Members
 
Community Events
176
Community Groups

Permission Denied error

Moving off a feature branch and then back onto it is giving me a permission denied error:

 

error: cannot stat 'newFileDirectory': Permission denied


This error is repeated on any new file I added to the project whilst I was working on that branch.

 

I am unable to edit the permissions on this file and when I try to open in explorer I get an 'Access is Denied' error.

 

If i delete and clone the repo I get the same issue again.

 

Any help appreciated!

1 answer

0 votes
Ana Retamal Atlassian Team Dec 20, 2017

Hi George, are you using Windows? Close any programs you might have open (such as Sourcetree, Visual Studio, explorer,editor, command prompt...), reopen Sourcetree and try again. If it doesn't work, reboot the machine. 

If after trying this you're still getting the same error, let us know the following:

- Are you using Windows or Mac?

- Are you getting the same error when using the command line?

- Which Sourcetree version do you have?

Best regards,

Ana

I have tried all the above and still doesn't fix it.

-I am on windows 10.

-The error is happening on the command line as well as if i just try to open the problematic files in file explorer.

- I have tried with various versions of sourcetree including the latest and I think version 1.1

 

Thanks

George

I have the same issue.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events