X-Spam-Check-By: sourceware.org Date: Tue, 31 Jul 2007 22:13:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ntfs ObCaseInsensitive & cygwin? Message-ID: <20070731201314.GB26600@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070731064155 DOT GA18253 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jul 31 15:39, Joe Smith wrote: > >>* If there's a way to query the system to see if it "thinks" it's > >>working?... > > > >Only under a non-Win32 subsystem. > > Umm.. CreateFile() is a win32 API command. > http://msdn2.microsoft.com/en-US/library/aa363858.aspx > It supports a "FILE_FLAG_POSIX_SEMANTICS" attribute, which claims to allow > case sesitive files? Does that not do anything? I would have thought that > would give case sensitive access through the win32 API if ObCaseInsensitive > was set to 0. Me too. But it doesn't work that way anymore under XP. That, or I stumbled over the keyboard. While testing I was not able to create two files only differing by case in the same dir on XP. There's also a weird setting in the Local Security Policy called "System objects: Require case insensitivity for non-Windows subsystems." beginning with Windows XP. The help text available since Vista is an interesting read: "This security setting determines whether case insensitivity is enforced for all subsystems. The Win32 subsystem is case insensitive. However, the kernel supports case sensitivity for other subsystems, such as POSIX. If this setting is enabled, case insensitivity is enforced for all directory objects, symbolic links, and IO objects, including file objects. Disabling this setting does not allow the Win32 subsystem to become case sensitive. Default: Enabled." Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/