X-Spam-Check-By: sourceware.org Date: Fri, 21 Apr 2006 13:07:17 -0500 From: mwoehlke 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 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT 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 Precedence: bulk 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 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/