delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/11/05:23:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 11 Jan 2010 11:22:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running Cygwin from an NFS drive (symlinks with system attribute)
Message-ID: <20100111102235.GC14511@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <SNT127-W9F5FFEBD8318614C4F776A96E0 AT phx DOT gbl> <4B4A868C DOT 20908 AT cygwin DOT com>
MIME-Version: 1.0
In-Reply-To: <4B4A868C.20908@cygwin.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Jan 10 21:01, Larry Hall (Cygwin) wrote:
> On 01/10/2010 06:33 PM, sbremal AT hotmail DOT com wrote:
> >
> >Hello,
> >
> >I am trying to run Cygwin from an NFS drive. Everything works fine as
> >long  as no symbolic link executables are invoked:
> >
> >$ awk
> >bash: /usr/bin/awk: Permission denied
> 
> One option is to invoke the executable pointed to instead.  Another is to
> replace the symbolic link with a hard link.  A third is to use SAMBA instead.
> 
> >The NFS drive does not seem to support the DOS system attribute which
> >makes basic UNIX utilities unavailable.
> >
> >Is there any way to tell Cygwin to ignore the system attribute?
> 
> No.  If the R/O attribute is supported, then a fourth option would

It isn't.  NFS only handles POSIX permissions.  However, if you're using
the Microsoft NFS client, you can convert the Cygwin syste-type symlinks
to "real" symlinks on the target filesystem.  These are supported as well
by Cygwin.

However, please note that Microsoft's NFS client does not support UTF-8
as target charset.

> be to convert the
> symbolic links to their "winsymlinks" format.  If course, doing that
> means you loose
> UTF character support.  See
> <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>
> for more on this option.

Is my description under using-cygwinenv.html unclear?  I only compared
the old and the new format.  The new format using UTF-16 is used by both
styles of symlinks, the SYSTEM and the .lnk style.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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