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

Re: how to perverse file permission in subversion

From: ying lcs <yinglcs_at_gmail.com>
Date: 2007-08-16 03:52:56 CEST

Thanks Ryan.

But how can take advantage of this 'executable bit' feature in subversion?

For example, how can I verify which files under the trunk has this
'executable bit' set? and than do a 'chmod +x' for all the files
which has this 'executable bit' set?

On 8/15/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
> On Aug 15, 2007, at 18:42, ying lcs wrote:
>
> > When I check in files to subversion (with executable. permission), and
> > then check them out again, they are no long executable.
> >
> > Can you please tell me if/how can i check the file permission when
> > checking in/out of subversion?
>
> In general, Subversion does not preserve file permissions.
>
> There is a special case for the executable bit, however. If a file is
> executable when checked into a Subversion repository, Subversion will
> add the svn:executable property to the file. On checkout, if a file
> has the svn:executable property, it will set the executable bit. You
> can also set the svn:executable property manually for files that do
> not already have it.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 16 03:50:52 2007

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.