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

RE: svnsync and changing permissions

From: Bolstridge, Andrew <andy.bolstridge_at_intergraph.com>
Date: Fri, 15 May 2009 09:36:19 +0100

To be honest I think you're solving the wrong problem here.

 

You're making a copy of a repo that you do not have read permission for
J I suppose you won't be allowed to read your mirror too J

 

Get the policy changed - once they allow you access, even for a short
time, you should have full access. Taking it away afterwards seems just
.. well, stupid. The only other alternative would be to run the svnsync
as a different user that does have permission to read, maybe there's a
backup user or if not, getting the policy changed to introduce a backup
user is often easier than asking for permission for yourself.

 

 

Andy

 

 

 

 

From: Andrew Sasak [mailto:andrew.sasak_at_gmail.com]
Sent: Thursday, May 14, 2009 7:06 PM
To: users_at_subversion.tigris.org
Subject: svnsync and changing permissions

 

I recently started use svnsync to maintain a mirror of a repository
where I do not have read permission for everything. Occasionally new
subdirectories are added to the repository and if necessary I am granted
read access. Since access is usually granted *after* the directory is
created, it throws svnsync for a loop.

 

Apart from changing the policy regarding how access/permission is
granted, how can I solve this problem?

 

It seems like I could dump from my mirror up until the creation of the
directory, then recreate the mirror using the dumpfile and sync.
However, I'm not sure if this work because it seems like the mirror uses
rev 0 to keep track of the most recently synced revision. In the case of
access being granted several (hundred or thousand) revisions after the
directory being added, even if this worked it seems like there should be
a more efficient way to do this, although its probably not currently
implemented (like "resyncing" starting at a specified revision).

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-15 10:37:17 CEST

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.