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

Re: [TSVN] Permission problem in shared working copy

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-29 21:01:27 CEST

Ryan Kuester wrote:
> I have three users sharing a working copy on a network share. When a user

Here's your big mistake.
Don't share working copies between users! That negates the whole design
of every version control system out there I know, including Subversion.
The name already says it: working _copy_. Every user gets his/her own
_copy_ of the sourcecode to work on.

> different than the one who checked out the working copy commits, the commit
> succeeds but errors follow when updating the working copy:
>
> Error replacing text-base of 'file'
> Can't set file 'path/.svn/text-base/file.svn-base' read-write: Access is
> denied.
>
> Obviously, the non-owner cannot change permissions.

Correct. And it would be a severe security leak if they could! Well, at
least on filesystems which support user rights.

> I figured this was related to the Subversion issue 1509, which is supposed
> to be fixed in the latest versions. We're using TortoiseSVN 1.1.1, Build
> 1857 and svn 1.1.1 on the server side. Using the UNIX command line client
> directly on the server, I have no problems.

If you really want to do this, even though I can't imagine why someone
would actually do this:
Depending on what filesystem you use on that network share, you have to
set the working copy root folder to _always_ set the read and write
permissions on new and modified files to public, no matter what user
accesses the files there. Don't know exactly how you can do this though.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 29 22:09:31 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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