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

Re: File permission changes on commit

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 11 Nov 2013 17:21:43 +0100

On 11.11.2013 16:05, Stefan Sperling wrote:
> On Mon, Nov 11, 2013 at 02:39:26PM +0000, Philip Martin wrote:
>> Stefan Sperling <stsp_at_elego.de> writes:
>>> The proper way of clearing the 'x' bit would be to remove
>>> the svn:executable property.
>> That removes all x. The r1537018 fix allows users to remove just
>> group/world permissions and have Subversion preserve that change.
> Well, 'preserve' in the sense that it is preserved in the working copy
> only. These bits are not versioned.
>> It appears the same is not possible with x. And if I try to do it by
>> removing svn:executable and setting x just for the owner then commit
>> removes x.
> The 'x' bit is a versioned entity, so it needs to be preserved across
> working copies. I think that is the crucial difference.
> I cannot really see why someone would in general want to have 'rx' set
> for the owner, and 'r' set for group/others without 'x'. That makes no
> sense.

It makes perfect sense for setuid/setgid scripts.

In any case, if there is /no/// read permission for group and other,
there certainly shouldn't be execute permission, IMO.

-- Brane

Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-11-11 17:22:24 CET

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