You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Evgeniy Romas <je...@orbita1.ru> on 2006/06/27 08:47:04 UTC
Access denied! HELP!
Good day! We have a problem with an access to the remote repositories.
The structure of storage is the following: there is SVN-server,
Samba-server on which source codes are placed, all the users use Windows
with TortoiseSVN. Both servers are in one and the same subnet with
users. SVN and Samba are in different servers.
When user downloads his copy of repository into his home folder on
Samba-server and makes at list one modification in ANY files from this
copy, after this other user already has no any rights to change
something in any files of this copy. During the trial of the submitting
of the modifications TortoiseSVN displays an error-window:
Subversion reported an error while doing clean up!
In directory '[path_to_copy_of_repository]'
Error processing command 'commited' in '[path_to_copy_of_repository]'
Error replacing text-base of 'file.txt'
Can't set file
'[path_to_copy_of_repository].svn\tmp\text-base\file.txt.svn-base'
Read-write: access denied.
In the settings of Samba the following is written:
[web]
path = /var/www
read only = no
public = yes
browseable = yes
guest ok = no
valid users = [here_is_some_users]
writable = yes
force group = users
create mask = 0777
force create mode = 0777
directory mask = 0777
SVN-server(options during the starting of demon):
SVNSERVE_OPTS="--root=/var/svn"
SVNSERVE_USER="apache"
SVNSERVE_GROUP="apache"
The folder with depositories has been chowned for apache:apache: chown
-R apache:apache /var/svn/
Apache piece of conf:
<Location /test>
DAV svn
SVNPath /var/svn/test
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
Require valid-user
# SVNAutoversioning on
# DavGenericLockDB /var/svn/smartppc/locks
</Location>
An access to repository is carried out by the URL:
svn://ip_address_of_svn_server/test/
Then the TortoiseSVN opens
Re: Access denied! HELP!
Posted by Nick Thompson <ni...@agere.com>.
On Tuesday 27 June 2006 09:47, Evgeniy Romas wrote:
> Good day! We have a problem with an access to the remote
> repositories. The structure of storage is the following: there is
> SVN-server, Samba-server on which source codes are placed, all the
> users use Windows with TortoiseSVN. Both servers are in one and the
> same subnet with users. SVN and Samba are in different servers.
>
> When user downloads his copy of repository into his home folder on
> Samba-server and makes at list one modification in ANY files from
> this copy, after this other user already has no any rights to
> change something in any files of this copy. During the trial of the
> submitting of the modifications TortoiseSVN displays an
> error-window:
>
> Subversion reported an error while doing clean up!
>
> In directory '[path_to_copy_of_repository]'
>
> Error processing command 'commited' in
> '[path_to_copy_of_repository]'
>
> Error replacing text-base of 'file.txt'
>
> Can't set file
> '[path_to_copy_of_repository].svn\tmp\text-base\file.txt.svn-base'
>
> Read-write: access denied.
>
>
>
> In the settings of Samba the following is written:
>
>
>
> [web]
>
> path = /var/www
>
> read only = no
>
> public = yes
>
> browseable = yes
>
> guest ok = no
>
> valid users = [here_is_some_users]
>
> writable = yes
>
> force group = users
>
> create mask = 0777
>
> force create mode = 0777
>
> directory mask = 0777
>
>
>
> SVN-server(options during the starting of demon):
>
> SVNSERVE_OPTS="--root=/var/svn"
>
> SVNSERVE_USER="apache"
>
> SVNSERVE_GROUP="apache"
>
>
>
> The folder with depositories has been chowned for apache:apache:
> chown -R apache:apache /var/svn/
>
>
>
> Apache piece of conf:
>
> <Location /test>
>
> DAV svn
>
> SVNPath /var/svn/test
>
> AuthType Basic
>
> AuthName "Subversion repository"
>
> AuthUserFile /etc/svn-auth-file
>
> Require valid-user
>
> # SVNAutoversioning on
>
> # DavGenericLockDB /var/svn/smartppc/locks
>
> </Location>
>
>
>
> An access to repository is carried out by the URL:
>
> svn://ip_address_of_svn_server/test/
>
> Then the TortoiseSVN opens
Seems odd to be using an svn:// url, when the Subversion server is
behind Apache. Shouldn't that be an http:// url?
--
> Nick Thompson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org