delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/04/04:48:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 4 Mar 2010 10:48:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange symlink behaviour
Message-ID: <20100304094847.GZ17293@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CC11356C-47B3-4FD0-9A58-89A9691A52D8 AT von-campe DOT com>
MIME-Version: 1.0
In-Reply-To: <CC11356C-47B3-4FD0-9A58-89A9691A52D8@von-campe.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 Mar  3 15:59, Alfred von Campe wrote:
> Do symbolic links work over CIFS?  I'm having a really strange
> problem with symlinks.  Here is the story.

Real symlinks on a remote CIFS system are not recognized by Cygwin or
Windows either.  Rather, they are converted to real files by the
underlying CIFS server so that "dumb" Windows clients don't get
confused.

Symlinks created with and for Cygwin are not real symlinks (with an
exception).  They are files with special properties so that they are
recognized as symlinks by Cygwin.

Bottom line is, if you create symlinks via Cygwin, they will only be
recognized by Cygwin clients.  If you want symlinks which work on all
systems (NFS->Linux, CIFS->Windows, CIFS->Cygwin), you have to create
the symlinks using a Linux client.

Here's the exception:  If you use Cygwin 1.7, and if you install the
Microsoft SFU NFS client on your Windows machine, you will be able to
create and utilize real symlinks on the NFS share.


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