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

Re: Setting x-bit on symlinks to dirs vs files.

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-09-19 14:38:17 CEST

Hi Karl,

On Mon, Sep 17, 2007 at 01:22:12PM -0700, Karl Fogel wrote:
> Last week, Samuel Gélineau reported problems with:
>
> $ svn propdel svn:executable symlink-to-directory
>
> Deleting the svn:executable property causes 'chmod -x'. However, that
> follows links, so it changes the x-bit on the link target -- meaning
> it can remove the executable bit on the directory target of the
> symlink, which usually isn't the desired result!

Just by the way, if you're looking to fix this, there was also a very
similar problem reported recently whereby setting svn:needs-lock on
symlinks breaks when Subversion tries to remove the w-bit.

See http://svn.haxx.se/dev/archive-2007-09/0130.shtml.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Wed Sep 19 14:38:27 2007

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.