delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/21/14:07:29

X-Spam-Check-By: sourceware.org
Date: Fri, 21 Apr 2006 13:07:17 -0500
From: mwoehlke <mwoehlke-nospam AT tibco DOT com>
Subject: Re: Cygwin and Interix interoperability?
In-reply-to: <20060421171542.GA25876@calimero.vinschen.de>
To: cygwin AT cygwin DOT com
Reply-to: cygwin AT cygwin DOT com
Message-id: <44491F55.7010702@tibco.com>
MIME-version: 1.0
User-Agent: Thunderbird 1.5 (X11/20051201)
References: <4447BE05 DOT 6070103 AT tibco DOT com> <20060420170449 DOT GA24155 AT trixie DOT casa DOT cgf DOT cx> <20060420204058 DOT GA7685 AT calimero DOT vinschen DOT de> <44480053 DOT 609 AT tibco DOT com> <20060421093909 DOT GA12661 AT calimero DOT vinschen DOT de> <44490A6A DOT 3090504 AT tibco DOT com> <20060421171542 DOT GA25876 AT calimero DOT vinschen DOT de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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/

- Raw text -


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