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

Re: xp, smb mounts, shared wc breaks wc management (permissions)

From: urs hardegger <uhardegger_at_gmx.ch>
Date: 2006-06-20 17:39:08 CEST

i'm using the prebuild subversion 1.3.1 native binaries for windows.
i encountered the same problem using a self-compiled binary
from the 1.4 head (last week) using APR 0.9.7.

I checked the toggling of the read-only flag by using the
windows explorer - it failed as well (permission denied).
as the read-only flag was not set svn should not try to change it.

thx
urs

D.J. Heap wrote:
>
> What version of Subversion and APR are you using? Subversion only
> changes the read-only flag on Windows -- APR (which Subversion is
> built on) doesn't even implement the permission-changing functions on
> Win32. If you are using cygwin, then try the native Win32 client.
>
> DJ
>

>> On 6/16/06, urs hardegger <uhardegger@gmx.ch> wrote:
>> i have seen some recent changes in the repository concerning
>> permission-handling in the wc.
>>
>> the svn io.c methods handle the permissions (at last on windows) in a
>> "brute force" manner (without checking if a permission change is actualy
>> required or not).
>>
>> therefore svn commits can only be done by the owner of the wc.
>>
>> >svn.exe commit -m "foo" test.doc
>> svn: In directory 'P:\smb-share\test-co-by-rw'
>> svn: Error processing command 'upgrade-format' in
>> 'P:\smb-share\test-co-by-rw'
>> svn: Can't set file 'P:\smb-share\test-co-by-rw\.svn\format'
>> read-write: Access is denied.
>>
>> on the unix fs:
>> unix-03 16:28 test-co-by-rw/.svn > ls -al
>> total 24
>> drwxrwsr-x 6 rw user 4096 Jun 16 15:39 .
>> drwxrwsr-x 3 rw user 32 Jun 16 15:39 ..
>> -rw-rw-r-- 1 rw user 120 Jun 16 14:55 README.txt
>> -rw-rw-r-- 1 rw user 0 Jun 16 14:55 empty-file
>> -rw-rw-r-- 1 rw user 706 Jun 16 14:55 entries
>> -rw-rw-r-- 1 rw user 2 Jun 16 14:55 format
>> -rw-rw-r-- 1 uh user 2 Jun 16 15:39 format.tmp
>> -rw-rw-r-- 1 uh user 0 Jun 16 15:39 lock
>> -rw-rw-r-- 1 uh user 757 Jun 16 15:39 log
>> drwxrwsr-x 2 rw user 30 Jun 16 14:55 prop-base
>> drwxrwsr-x 2 rw user 30 Jun 16 14:55 props
>> drwxrwsr-x 2 rw user 30 Jun 16 14:55 text-base
>> drwxrwsr-x 6 rw user 64 Jun 16 15:39 tmp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 20 17:41:05 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.