i have seen some recent changes in the repository concerning
permission-handling in the wc.
as we use shared-working-copies (do NOT discuss this issue here!)
connected by a smb-share on a windows xp system permission handling
is peculiarly delicate.
so far all files got automatically group read-writeable for all
authenticated windows users (and can therefore be altered, deleted,
renamed etc. without any permission changes).
as on unix based systems permission changes are allowed for owners
only the smb-share enforces this policy for the windows user as well.
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
does anybody encountered similar behaviour or are there any solutions
to this (i.e src-patches) ?
urs
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 16 16:47:20 2006