delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/08/05:58:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 8 Jan 2010 11:58:00 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Oddity when working with webdrive mounted network drives
Message-ID: <20100108105800.GC27916@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <a13b5a591001071323w3a6a9f82tfcce64e66d514c47 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <a13b5a591001071323w3a6a9f82tfcce64e66d514c47@mail.gmail.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
Note-from-DJ: This may be spam

On Jan  7 16:23, Robert Pendell wrote:
> When opening a webdrive mounted network drive it shows all the user
> and groups with question marks (?) and full rw.  Looks like it is
> emulating FAT/FAT32 here but I wanted to be sure.

No, it isn't.  See below.

> The uid and gid are
> obviously wrong here but that is the numeric uid and gid that it
> gives.  Beyond that there are no issues.
> 
> The host system is Debian but it is not being done through Samba or
> NFS.  Webdrive is mounting through sshfs.
> 
> $ /usr/lib/csih/getVolInfo /cygdrive/w
> Device Type        : 7
> Characteristics    : 10
> Volume Name        : <shinji257 AT dreamhost>
> Serial Number      : 71466
> Max Filenamelength : 256
> Filesystemname     : <WebDrive>
> Flags              : f
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    That *should* allow case-sensitivity according to
    http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive

>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : TRUE
>   FILE_PERSISTENT_ACLS        : TRUE
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    And that means that ACLs are available, so the default is to use them.

> $ ls -n /cygdrive/w
> total 44M
> drwxrwxrwx 1 4294967295 4294967295 4.0K 2009-11-04 03:20 Maildir/
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  And that means the SIDs of owner and group are not known to Cygwin,
  since they are not present in /etc/passwd and /etc/group.  The permissions
  are taken from what the OS call to fetch the ACL returns.


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