Hi Johan, Thanks for pointing this out. This seems in open state. Is there any workaround so I can get rid of this until it get permanently fix? :) I can't reproduce the issue constantly. It happens intermittently :(
Thanks Thusitha 2015-11-17 14:22 GMT+05:30 Johan Corveleyn <[email protected]>: > There is also this issue: > > https://issues.tmatesoft.com/issue/SVNKIT-508 (SVNKit sets auth cache > file (svn.simple) read-only, causing problems for native svn) > > Not sure if it's related. > > -- > Johan > > On Tue, Nov 17, 2015 at 6:05 AM, Thusitha Thilina Dayaratne < > [email protected]> wrote: > >> Hi All >> >> My file permission for the particular file is as follows >> >> File permission: rrr- 1 thusitha thusitha 166 Nov 12 23:52 >> /home/thusitha/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21 >> d4 >> >> I found the [1] which relates to this, But it seems in reopened state. >> [1] - http://svnkit.com/tracker/view.php?id=331 >> >> Any help on this would be really nice >> >> Thanks >> >> 2015-11-09 18:16 GMT+05:30 Thusitha Thilina Dayaratne < >> [email protected]>: >> >>> Hi Alexander, >>> >>> Thank you very much for the quick response. >>> But unfortunately I don't have more than a single user :( >>> I didn't get the last party. Did you mean that JavHL related >>> functionalities in svnkit will not work if I disable authentication >>> caching? or I shouldn't disable ot at all with svnkit? >>> >>> Thanks >>> Thusitha >>> >>> 2015-11-09 17:57 GMT+05:30 Alexander Kitaev <[email protected]>: >>> >>>> Hello, >>>> >>>> This error is most probably caused by permissions issue, it might be >>>> that another process creates file with the same name but on behalf of the >>>> different user. >>>> You may check file ownership at >>>> /home/thusitha/.subversion/auth/svn.simple by running the following >>>> command: >>>> >>>> $ ls -la /home/thusitha/.subversion/auth/svn.simple >>>> >>>> You may disable credentials caching when using SVNKit API >>>> (SVNClientManager or SvnOperationFactory), but not when using JavaHL API >>>> (SVNClient). >>>> >>>> Alexander Kitaev, >>>> TMate Software, >>>> http://subgit.com/ - Svn to Git Migration! >>>> http://svnkit.com/ - Java [Sub]Versioning Library! >>>> http://hg4j.com/ - Java Mercurial Library! >>>> http://sqljet.com/ - Java SQLite Library! >>>> >>>> On Mon, Nov 9, 2015 at 1:02 PM, Thusitha Thilina Dayaratne < >>>> [email protected]> wrote: >>>> >>>>> Hi All, >>>>> >>>>> I'm using svnkit and intermittently i'm getting the following error. >>>>> >>>>> org.tigris.subversion.svnclientadapter.SVNClientException: >>>>> org.tigris.subversion.javahl.ClientException: svn: Cannot write to >>>>> '/home/thusitha/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4': >>>>> /home/thusitha/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4 >>>>> (Permission denied) Caused by: >>>>> org.tigris.subversion.javahl.ClientException: svn: Cannot write to >>>>> '/home/thusitha/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4': >>>>> /home/kurumba/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4 >>>>> (Permission denied) at >>>>> org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777) >>>>> at >>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850) >>>>> at >>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.update(SVNClientImpl.java:633) >>>>> at >>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.update(SVNClientImpl.java:609) >>>>> at >>>>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1075) >>>>> ... 12 more Caused by: org.tmatesoft.svn.core.SVNException: svn: Cannot >>>>> write to >>>>> '/home/kurumba/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4': >>>>> /home/kurumba/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4 >>>>> (Permission denied) at >>>>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1304) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1283) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.SVNWCProperties.setProperties(SVNWCProperties.java:345) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager$PersistentAuthenticationProvider.saveAuthentication(DefaultSVNAuthenticationManager.java:754) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.acknowledgeAuthentication(DefaultSVNAuthenticationManager.java:264) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:605) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:262) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:999) >>>>> at >>>>> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.hasCapability(DAVRepository.java:827) >>>>> at >>>>> org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:536) >>>>> at >>>>> org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401) >>>>> at >>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.update(SVNClientImpl.java:629) >>>>> ... 14 more Caused by: java.io.FileNotFoundException: >>>>> /home/thusitha/.subversion/auth/svn.simple/5e1c909083977976970085673b6f21d4 >>>>> (Permission denied) at java.io.FileOutputStream.open(Native Method) at >>>>> java.io.FileOutputStream.(FileOutputStream.java:221) at >>>>> org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createFileOutputStream(SVNFileUtil.java:1314) >>>>> at >>>>> org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1300) >>>>> ... 28 more >>>>> >>>>> I have also try to use the svnkit.http.keepCredentials=false system >>>>> parameter as well. But still intermittently I get this error. >>>>> >>>>> Can someone help on this? >>>>> Thanks >>>>> Thusitha >>>>> -- >>>>> >>>> >>>> >>> >>> >> >> >> -- >> >> > > > --
