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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 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        : > Serial Number      : 71466 > Max Filenamelength : 256 > Filesystemname     : > 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