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

Re: svn propdel svn:executable bug?

From: William Uther <will+_at_cs.cmu.edu>
Date: 2002-07-06 17:17:53 CEST

On 5/7/02 6:07 PM, "Ben Collins-Sussman" <sussman@collab.net> wrote:

> William Uther <will+@cs.cmu.edu> writes:
>
>> Hi,
>>
>> If I set the svn:executable property on a directory and then remove that
>> with a svn propdel svn:executable, then the directory loses its 'x'
>> permissions. This is annoying. Makes it hard to use the directory until
>> you fix it. :)
>
> I added this feature last month... changing the value of
> svn:executable immediately runs 'chmod +x' or 'chmod -x' on the item.
> Are you saying that this feature should only operate on files, not
> directories? Do we need to put in that restriction?
>
> I don't think that it ever occurred to us that someone would try to
> set that property on a directory.... why were you doing that?

Heh - by mistake. I wanted to set the flag on a file so I typed:

svn propset svn:executable myScript

svn then gave the property "svn:executable" the value "myScript" on the
current directory.

> Maybe we should prevent that property from -ever- being set on a
> directory?

Sounds good to me.

\x/ill :-}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 6 17:18:58 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.