[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Access Denied! The problem.

From: urs hardegger <uhardegger_at_gmx.ch>
Date: 2006-07-03 15:47:37 CEST

D.J. Heap wrote:
> On 6/29/06, Evgeniy Romas <jeka@orbita1.ru> wrote:
>> Created work-copy of repository in one of them, on SAMBA disk… And in the
>> other computer I just made one small modification into one of the
>> files of
>> this repository…
>> During the trial of making the Commit in that computer where the
>> 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.
>> During this error antivirus program was switched off at all.
> This is not the first time we've heard of trouble with putting working
> copies on Samba -- try checking out to a local disk and see what
> happens. If it works you probably have some kind of network or Samba
> config issue and you could try checking the Samba mailing lists.
> DJ

I encounter the same problem using working-copies on samba-drives.
The reason this happens is due to problems when the svn-client tries
to change the file permissions in the wc. As unix filesystems do
allow permission changes on files only if the acting user is owner,
windows uses special flags to promote this permission to non-owners.

Usually the samba setup ensures read/write access to the connecting windows
user (usually by group permissions). In my opinion the svn-client should
try to perform the file-permission operations more carefully (i.e. the client
should not fail and report an error upon "unnecessary permission changes"
if the following operation works well !!)


urs hardegger | uhardegger@gmx.ch
im talacher 23 | 8306 bruettisellen
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 3 15:49:12 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.