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

Re: subversion disadavantages

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 18 May 2009 06:24:00 -0400

On Mon, May 18, 2009 at 04:57, Irfan Sayed <irfu.sayed_at_gmail.com> wrote:
> here is th example. in Tags folder i am keeping all tghe official release.
> now i dont want any user to modify the contents in the tag folder
>
> i know that i can write the hook which will restrict user from modifying the
> contents. but i was expecting this as a inbuilt feature in subversion to
> lock the folder and files if needed instead of writing the custome trigger

This is not the intended purpose of locks in the first place - so even
if you *could* lock a directory, it'd be the wrong solution to the
"problem" you're attempting to solve. This should be done via SVN's
built-in security mechanisms, restricting write access to your tags
directory to only those users who should be creating tags.

> On Mon, May 18, 2009 at 2:22 PM, Mihamina Rakotomandimby (R12y)
> <mihamina_at_lab.vectoris.fr> wrote:
>>
>> On 05/18/2009 11:41 AM, B. Smith-Mannschott wrote:
>> >> 2: locking mechnaism is only available on file level and not on dir.
>> >> level .
>> >> if i have thousand files and need lick all the files then i need lock
>> >> file
>> >> one by one??. it's realy painful
>> >
>> > True. Though, I'd be *very* interested to know why you feel the need
>> > to lock so many files at once. What is it that you are trying to
>> > achieve?
>>
>> Dont you remember? the backup story :-).
>> Locking out the users during backup, the way it's done with
>> broken-by-design tools.
>>
>> --
>>                              Chef de projet chez Vectoris
>>                                  Phone: +261 33 11 207 36
>> System: xUbuntu 8.10 with almost all from package install
>>    http://www.google.com/search?q=mihamina+rakotomandimby
>>
>> ------------------------------------------------------
>>
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297865
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe_at_subversion.tigris.org].
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 12:24:49 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.