Hi all,
This is the first time Išve posted to this list. Hopefully, I can either
get confirmation or resolution of a possible bug with file permissions in
subversion 1.4.0
First of all, I should explain the setup that we have. Wešre accessing the
repository using svn+ssh. A bunch of the data we are working with is
binary, so it has been set up with needs-lock on all of the appropriate
files. As a result, all of these files are read-only until they have been
successfully locked. One thing that makes our usage model a bit different
from a typical software project is that our data is edited in a shared
working copy used by multiple users. This means that at different times,
different users may want to lock a given file. All of the users are part of
the same group. The directories are all group writeable.
For a while now, we've been using v1.2.3 and it has worked fine. I
initially had a concern regarding permissions, but it wasn't an issue. When
doing a lock operation, v1.2.3 would actually change the owner of the file
to the person locking it and make the file writeable. This stopped working
with v1.4.0. See the following demonstration:
Using svn 1.4.0:
% ls -al
drwxrwxr-x 3 jdoe design 4096 Nov 9 16:46 .
drwxrwxr-x 5 jdoe design 4096 Nov 9 16:46 ..
drwxrwxr-x 7 jdoe design 4096 Nov 9 16:46 .svn
-r--r--r-- 1 jdoe design 157072 Nov 9 12:46 sourcefile.bin
% svn lock sourcefile.bin
svn: Can't change perms of file '/home/myself/sourcefile.bin': Operation not
permitted
Using svn 1.2.3:
% svn lock sourcefile.bin
'sourcefile.bin' locked by user 'myself'.
% ls -l
drwxrwxr-x 3 jdoe design 4096 Nov 9 16:46 .
drwxrwxr-x 5 jdoe design 4096 Nov 9 16:46 ..
drwxrwxr-x 7 jdoe design 4096 Nov 9 16:46 .svn
-r--r--r-- 1 myself design 157072 Nov 9 12:46 sourcefile.bin
Any idea if this was intentional or not? Should I file a bug?
Thanks,
Steve Bakke
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 30 05:37:51 2006