Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN commit problem

Tags:

svn

I'm using netbeans and recently when i tried to commit my changes i got this error message:

org.tigris.subversion.javahl.ClientException: Permission denied
Commit failed (details follow):
Can't move '/home/********/svn/db/txn-protorevs/1000-sk.rev' to '/home/**********/svn/db/revs/1/1001': Permission denied
like image 246
M.M Avatar asked Mar 08 '11 15:03

M.M


People also ask

What is the use of svn commit command?

The svn commit command sends changes from your working copy to the respository. A log message (even if empty) must be provided. The message can be given on the command line, from a file, or an editor may be launched as the commit proceeds.

How do you break the lock in TortoiseSVN?

To release a lock manually, select the file(s) in your working copy for which you want to release the lock, then select the command TortoiseSVN → Release Lock There is nothing further to enter so TortoiseSVN will contact the repository and release the locks.


2 Answers

Seeing that it says "Permission Denied", it seems as though your credentials don't have permission in SVN to write in the destination folder

like image 42
Dan McClain Avatar answered Nov 04 '22 00:11

Dan McClain


check the permission to the file or better to the dir. Use

ls -l

for seeing the owner

chown -R owner.group /path

Chown is for changing the owenr/group. Change with your values. Instaed you can set all the permision to 777. In linux this always works but it's not very stylish:)

chmod 777 -R /path

In both case the -R stand for recusirve. Means that it affects all the subdirs and files too

like image 107
Kreker Avatar answered Nov 04 '22 00:11

Kreker