delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/06/06:14:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 6 Dec 2007 12:14:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Installing on a Samba share drive
Message-ID: <20071206111409.GM26345@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <475712A9 DOT 5010800 AT hawaiian DOT net> <47577067 DOT 2070404 AT cygwin DOT com> <20071206042618 DOT GA4580 AT ednor DOT casa DOT cgf DOT cx> <47577CDE DOT 9050507 AT cygwin DOT com> <20071206045101 DOT GA5219 AT ednor DOT casa DOT cgf DOT cx> <4757CC08 DOT 7090504 AT go4more DOT de>
MIME-Version: 1.0
In-Reply-To: <4757CC08.7090504@go4more.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
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 Dec  6 11:16, Albrecht Schlosser wrote:
> Christopher Faylor wrote:
>> On Wed, Dec 05, 2007 at 11:38:54PM -0500, Larry Hall (Cygwin) wrote:
>>> Christopher Faylor wrote:
>>>> On Wed, Dec 05, 2007 at 10:45:43PM -0500, Larry Hall (Cygwin) wrote:
>>>>> Tom Leonard wrote:
>>>>>> Hi,
>>>>>> I created a Samba share on my Debian system, mapped it to a drive 
>>>>>> letter on my XP Home system and did a full network install of Cygwin 
>>>>>> on the root of the mapped drive. 
>
>>> Has 'setup.exe' finally been updated to create .lnk file style symlinks?
>>> Guess it has been a while since I've wandered through that code. :-)
>> Ah, good point.  I was actually thinking this might have been the same
>> thing that as someone on IRC was reporting where I thought they said
>> that they just saw .lnk files but I see now that this wasn't mentioned
>> above.  Sorry about that.
>> Same answer, though.  Using cygwin utiltities to create the files should
>> rectify the problem.
>
> Well, the OP wrote that he used setup.exe to do "a full network install". 
> Since setup.exe is a native windows program, would this mean that an 
> install to a network share wouldn't work?

setup.exe is creating symlinks of the "plain file with magic header and
system bit set" type, which is also used for unix sockets and also for
symlinks if you set the CYGWIN=nowinsymlinks option.  The problem with
Samba is that it's running on file systems which don't support DOS file
attributes natively. 

However, Samba supports a mapping mechanism which uses the  execute bits
in the file permissions to simulate the DOS attribute bits system,
hidden and archive, as well as, in newer Samba versions, a mapping
mechanism which uses extended attributes to map these bits.  For more
information see `man smb.conf'.  Using one of these mechanisms should
allow Cygwin symlinks created by setup.exe to work on Samba shares.  Of
course, they are still just plain files.  They are not visible as real
symlinks from the Linux side, they still only work from Cygwin.


Corinna

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

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