X-Spam-Check-By: sourceware.org
Date: Fri, 21 Apr 2006 13:07:17 -0500
From: mwoehlke <mwoehlke-nospam@tibco.com>
Subject: Re: Cygwin and Interix interoperability?
In-reply-to: <20060421171542.GA25876@calimero.vinschen.de>
To: cygwin@cygwin.com
Reply-to: cygwin@cygwin.com
Message-id: <44491F55.7010702@tibco.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
User-Agent: Thunderbird 1.5 (X11/20051201)
References: <4447BE05.6070103@tibco.com>  <20060420170449.GA24155@trixie.casa.cgf.cx>  <20060420204058.GA7685@calimero.vinschen.de> <44480053.609@tibco.com>  <20060421093909.GA12661@calimero.vinschen.de> <44490A6A.3090504@tibco.com>  <20060421171542.GA25876@calimero.vinschen.de>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen wrote:
> I don't get it.  We're using .lnk symlinks for quite some time and open
> works transparently with them.

Sorry; clarification (again): open() in Windows, outside of Cygwin. I.e. 
if I try to open a path in Notepad that contains a symlink, it doesn't 
work with Cygwin's .lnk's. It *does* work with real NFS symlinks.

>> At any rate, Cygwin *isn't* the Windows API... Why shouldn't Cygwin be
>> allowed to get it right for those API's that ask for POSIX-style
>> permissions?
> 
> Cygwin is running in the Windows subsystem, Interix isn't.  Cygwin can
> only use functions in the Win32 API, or in the native NT API as far as
> the call is allowed from user space.

Explorer is able to retrieve these. Thus, I'm assuming that there /is/ 
an NT API way of doing it. Maybe I'm wrong.

I'll keep you posted if I ever get around to messing with this stuff.

-- 
Matthew
If you can't use a real OS, at least use Cygwin to fake one!

--
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/

