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

Re: File access control

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Sun, 6 Jan 2008 23:56:14 -0600

On Jan 6, 2008, at 23:50, Ali Soleimani wrote:

>> The only way is via a pre-commit hook, as far as I know. Subversion
>> security only works on the directory level.
>
> thanks for reply.
> I have to restrict user in "update" command; so is there pre-
> update hook?

No, there isn't a pre-update hook. I don't think there's a way to do
what you want in Subversion. Access controls in Subversion are at the
directory level, not the file level. If you can move the files you
need to protect into a directory of their own, then that could be a
workaround.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-07 06:57:15 CET

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.