[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: <jeka_at_orbita1.ru>
Date: 2006-07-03 16:03:56 CEST

So? What you purpose for to do for accesses will be ok? I'm waiting for your
reply...
Thx!

-----Original Message-----
From: urs hardegger [mailto:uhardegger@gmx.ch]
Sent: Monday, July 03, 2006 5:48 PM
To: users@subversion.tigris.org
Subject: Re: Access Denied! The problem.

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.

-- 
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 3 16:05:36 2006

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