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

RE: How to change the owner of a working copy.

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 25 Mar 2009 23:46:42 +0100

> -----Original Message-----
> From: DW Dennis Wheeler [mailto:dwheeler_at_ag.com]
> Sent: Wednesday, March 25, 2009 10:31 PM
> To: Ryan Schmidt; Anthony Cagle
> Cc: users_at_subversion.tigris.org
> Subject: RE: How to change the owner of a working copy.
>
> > -----Original Message-----
> > From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
> > Sent: Monday, March 23, 2009 4:10 PM
> > To: Anthony Cagle
> > Cc: users_at_subversion.tigris.org
> > Subject: Re: How to change the owner of a working copy.
> >
> > On Mar 23, 2009, at 14:29, Anthony Cagle wrote:
> >
> > > I have an svn repository that was checked out by user1 and I would
> > > like to change that working copy to be owned by user2, so
> > that user2
> > > can perform updates and commits to and from that working
> > copy. I do
> > > not want to delete the working copy and check out a new one with
> > > user2.
> > >
> > > Is there any way to change the owner of the working copy?
> >
> > It's just files and directories on your disk, so change the
> > ownership the same way you do for any other item in your OS,
> > e.g. chown on Unix- like OSes or I don't know what on Windows.
> >
>
> but you'll probably want to use the -u flag when commiting changes
> so that the changes are commited by the new user rather than
> the old user (as recorded in .svn/entries)

Subversion doesn't store the active user in the working copy. Subversion
uses the user credentials cached in $HOME/.subversion for the specific
repository. (Credentials are not bound to a working copy).

And as far as I can tell the -u argument is only used by 'svn status'.
The subversion argument to specify an explicit user is --username; but as
you most likely don't share a home directory with the other user, this is
not necessary.

        Bert

>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessage
> Id=1420378
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1421190

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-25 23:47:38 CET

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