delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_20,WEIRD_PORT |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 26 Mar 2010 17:53:01 -0500 |
To: | cygwin AT cygwin DOT com |
Subject: | troubles with sshd and Microsoft devenv's .rsp files |
Message-ID: | <20100326225301.GI90128@hamlet.SetFilePointer.com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.4.2.3i |
X-Delivery-Agent: | TMDA/1.1.12 (Macallan) |
From: | Alec Kloss <alec-keyword-cygwin DOT 2518a7 AT SetFilePointer DOT com> |
X-Primary-Address: | alec AT SetFilePointer DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--cN519qCC4CN1mUcX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm using a fresh installation of cygwin 1.7.2 on a fresh install of Windows Server 2003. I'm having an issue where the temporary .rsp files created by devenv.exe are created without read permission. This causes the tool devenv is about to start (like cl.exe) to be unable to read the .rsp file. Running ls -l in a loop on the build directory I can catch the files while they exist with no permissions; --------- shows in ls.=20=20 This bad behavior only appears to occur when running devenv.exe from inside an ssh session. If I'm using a cygwin shell on the desktop things behave correctly (and .rsp files show up mode 700). If I ssh into the same machine and run the same command, the .rsp files show up mode 000 and cl.exe (which is spawned by devenv.exe) can't read them.=20=20 I have a vague recollection of the same problem using cygwin 1.5 a long time ago and I believed I fixed it by setting CYGWIN=3Dnontsec. I've tried mounting the filesystem these files are created on using the noacl flag but it didn't seem to change the behavior of the .rsp files (it did generally change the behavior of the filesystem the way you'd expect).=20=20 I have a suspicion that somewhere in cygwin something is getting overzealous about the FILE_ATTRIBUTE_TEMPORARY flag that I suspect the .rsp files are created with, but I'm baffled by why sshd would make a difference. It looks like wine had some similar problems and every now and then you see people complaining about problems with devenv.exe in general. The error you get from cl.exe looks like this: cl : Command line error D8022 : cannot open 'c:\cygwin\home...' Any ideas? --=20 Alec Kloss Email/Jabber IM: alec AT SetFilePointer DOT com PGP key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xEBD1= FF14 "No Bunny!" - Simon, http://wiki.adultswim.com/xwiki/bin/Frisky+Dingo/Simon --cN519qCC4CN1mUcX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFLrTrNkQ6e6D/NCvIRApc2AKCZTA5NoDYxB/MueLy4aGvjhOz6BgCfeNU1 uMA0q0OuGOaLhWwat2QuF3Q= =pznf -----END PGP SIGNATURE----- --cN519qCC4CN1mUcX--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |