www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_29 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A334FE3.80702@nidaros.homedns.org> |
Date: | Sat, 13 Jun 2009 09:06:11 +0200 |
From: | Tor Hovland <tor AT nidaros DOT homedns DOT org> |
User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | bash process current directory not set under Windows 7 |
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 |
Hi! When I open a Cygwin window on Windows XP, the shell starts in /home/username, and procexp (sysinternals.com) shows that the bash process current directory is C:\cygwin\home\username\. That's all good, then, but under Windows 7 RC1 build 7100 the bash process current directory is C:\Windows\ even though the shell still starts in /home/username. This seems to happen even if I set SYSTEMROOT and WINDIR to something else (so I have no environment variables pointing to C:\Windows). This is causing some problems. Specifically, rake db:bootstrap, using ruby and sqlite3, tries to create temporary files under C:\Windows, and they get access denied. Under Windows 7, this directory is owned by TrustedInstaller, and it doesn't even seem possible to give myself write access as a workaround. Though, I am allowed to create files there using Windows Explorer. Tor Hovland -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |