Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: Can't open file '.svn/lock': Permission denied on MAc

Tags:

I can't make this go away and I've tried everything. I don't really care how horrible and hacky the answer is, I just want it to go away. Can anyone help? Thanks.

EDIT:

I'm trying to basic commands, i.e.

cd MyDirectory/ svn update 
like image 233
Federer Avatar asked Jan 06 '11 17:01

Federer


People also ask

Can't open file SVN lock Permission denied?

If you've ever gotten the following error, you might need to reset the file permissions and ownership on all of your project files, including the hidden subversion files (located in the . svn folders).

Can't open DB TXN current lock access is denied?

In the Windows Explorer go to D:\Repositories where your repository is located then right-click on Repositories folder then Properties then Edit Permissions tab and allow all full control to everyone.


1 Answers

You might not have write permission on the directory

sudo chown -R $(id -u):$(id -g) MyDirectory chmod -R u+w MyDirectory 
like image 89
chris Avatar answered Oct 07 '22 16:10

chris