List Info

Thread: SVNKit attempts to access SVN root when configured with SVN subdirectory




SVNKit attempts to access SVN root when configured with SVN subdirectory
user name
2008-03-27 21:36:24
Hi, SVNKit works fine, but I got lots of access errors in
SVN log:
[Wed Mar 19 11:59:12 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/
[Wed Mar 19 11:59:16 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/
[Wed Mar 19 11:59:19 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/
[Wed Mar 19 11:59:22 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/
[Wed Mar 19 11:59:24 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/
[Wed Mar 19 11:59:26 2008] [error] [client 192.168.4.18]
Access denied:
'mngsvnts' GET my_project:/

the user 'mngsvnts' was setted as only can access the
directory
'/trunk/help', and using SVNKit to get source/diffs from the
repository,
everything is ok, but has error logs.

Is there anyone know how to let SVNKit don't try to access
the root of the
repository?
-- 
View this message in context: http://www.nabble.com/SVNKit-attempts-to-access-SVN-r
oot-when-configured-with-SVN-subdirectory-tp16344693p1634469
3.html
Sent from the SVNKit - Users mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


Re: SVNKit attempts to access SVN root when configured with SVN subdirectory
user name
2008-03-28 12:19:41
Hello Li,

 > Is there anyone know how to let SVNKit don't try to
access the root 
of the
 > repository?
Could you please provide more details on the problem:

What version of SVNKit do you use (try using 1.1.6 one)?
What exact code do you use to work with SVNRepository or
SVNClientManager?

In general SVNKit (SVNRepository class) should not attempt
to access 
paths higher than its location URL (URL SVNRepository was
created for).


Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java
[Sub]Versioning Library!

Li Xiao wrote:
> Hi, SVNKit works fine, but I got lots of access errors
in SVN log:
> [Wed Mar 19 11:59:12 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> [Wed Mar 19 11:59:16 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> [Wed Mar 19 11:59:19 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> [Wed Mar 19 11:59:22 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> [Wed Mar 19 11:59:24 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> [Wed Mar 19 11:59:26 2008] [error] [client
192.168.4.18] Access denied:
> 'mngsvnts' GET my_project:/
> 
> the user 'mngsvnts' was setted as only can access the
directory
> '/trunk/help', and using SVNKit to get source/diffs
from the repository,
> everything is ok, but has error logs.
> 
> Is there anyone know how to let SVNKit don't try to
access the root of the
> repository?

------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


Re: SVNKit attempts to access SVN root when configured with SVN subdirectory
user name
2008-03-29 06:39:01

> What version of SVNKit do you use (try using 1.1.6
one)?

The svnkit version is '1.1.2'

> What exact code do you use to work with SVNRepository
or SVNClientManager?

Lots of operations:
   * use SVNDiffClient to show diff
   * SVNRepository#getFile to get file content and
mime-type
   * SVNRepository#getDir to get dir info
   * get logs by SVNRepository#log
   * SVNRepository#info to get revision info
   * sub-directories or files revision info
   * SVNRepository#latest_revision
   * SVNRepository#getRepositoryPath("")
   * SVNRepository#testConnection
   * set SVNRepository#authenticationManager as used
org.tmatesoft.svn.core.wc.SVNWCUtil.createDefaultAuthenticat
ionManager()

----------

I read some SVNKit code.
Most of methods in the SVNRepository class always try to
invoke
SVNRepository#getRepositoryRoot method.


-- 
View this message in context: http://www.nabble.com/SVNKit-attempts-to-access-SVN-r
oot-when-configured-with-SVN-subdirectory-tp16344693p1636876
9.html
Sent from the SVNKit - Users mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )