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

Re: Setting the Execute Bit on Checkout

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-06 17:43:12 CET

On Jan 6, 2006, at 16:50, Robert Reeves wrote:

> Interesting, I just tried the checkout using TortoiseSVN and the
> permissions on my machine now match the developers:
> C:\dev\tools600>ls -al NMAKE.EXE
> -rwx------+ 1 robert.reeves Domain Users 45568 Jan 6 09:42 NMAKE.EXE
> So, why is TortoiseSVN (version 1.2.6) checking it out "properly", but
> my Cygwin SVN (version 1.2.3) is not?

I don't use Windows, and I've never used Cygwin, and I don't know how
they interact with each other, but based on what you say, it sounds
like files created in the Cygwin environment get standard *nix
permissions of 644, while files that get created in the Windows
environment show up in Cygwin with 700 permissions. You could test if
this analysis is correct by creating a text file in Notepad and
touching an empty file on the Cygwin command line, and seeing what
their respective permissions then are.

To get Subversion to set the execute bit when you check out, you need
to set the "svn:executable" property on the file. See here:


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 17:45:52 2006

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.