[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: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-08-16 02:01:04 CEST

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 02:00:02 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.