delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/31/16:13:42

X-Spam-Check-By: sourceware.org
Date: Tue, 31 Jul 2007 22:13:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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: <f8lro4$35m$1 AT sea DOT gmane DOT org> <20070731064155 DOT GA18253 AT calimero DOT vinschen DOT de> <f8o364$obs$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <f8o364$obs$1@sea.gmane.org>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019