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

Re: svn and executable bit

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Fri, 11 Jan 2008 15:03:34 -0600

On Jan 11, 2008, at 09:33, Lorenzo Thurman wrote:

> I've found a few posts which discuss how subversion handles the
> executable bit and they answer most of my questions. I still have a
> couple though:
>
> 1)Is there a way to set a directory to have the executable bit set
> for any of the files it contains? Such that I can add a file later
> w/o have to set the prperty again.

No, there isn't.

> 2)Is there a way to set the execute bit globally? By this I mean it
> seems that setting the executable bit only applies to those who
> have set the property for their own commits/co , if I understand
> what I have read so far.

If you're talking about the automatic property setting feature (auto-
props) then yes that is specific to the client.

> Is there a server setting that will apply to all commits/co?

Not exactly, but you can write a pre-commit hook on the server to
reject all commits of files that don't have the executable property
set, if that's what you want.

---------------------------------------------------------------------
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-11 22:04:33 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.