[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: Robert Reeves <robert.reeves_at_newisys.com>
Date: 2006-01-06 18:44:07 CET

Actually, both environments are Windows. The difference seems to be with
TortoiseSVN versus svn.exe.

However, setting the svn:executable property did get the desired
result...which is all that really matters.

Thanks a ton!

Robert

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: Friday, January 06, 2006 10:43 AM
To: Robert Reeves
Cc: users@subversion.tigris.org
Subject: Re: Setting the Execute Bit on Checkout

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:

http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 18:48:56 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.