www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/04:29:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 22 Jan 2010 10:28:48 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1-1 - forward slash UNC names to use 'noacl'
Message-ID: <20100122092848.GK2402@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1264072229 DOT 10648 DOT ezmlm AT cygwin DOT com> <COL117-W6F5C643353BE31893D2E3F7630 AT phx DOT gbl>
MIME-Version: 1.0
In-Reply-To: <COL117-W6F5C643353BE31893D2E3F7630@phx.gbl>
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 21 11:25, na na wrote:
> 
> Listing the contents of a directory on our file server (a Samba share) by t=
> he following command:
>  
> =A0=A0 $ ls -l
>  
> or explicitly
>  
> =A0=A0 $ ls -l ./
>  
> the output is
>  
> =A0=A0 ----------+ 1 ???????? <group> 600 2009-09-09 11:12 README.txt
> =A0=A0 d---------+ 1 ???????? <group>=A0=A0 0 2009-09-09 11:03 conf
>  
> whereas the following command:
>  
> =A0=A0 $ ls -l .\\
>  
> outputs
>  
> =A0=A0 -rw-r--r-- 1 <user> <group> 600 2009-09-09 11:12 README.txt
> =A0=A0 drwxr-xr-x 1 <user> <group>=A0=A0 0 2009-09-09 11:03 conf
>  
> I presume this behaviour has something to do with this point:
>  
>    http://cygwin.com/cygwin-ug-net/ov-new1.7.html:
>  
>    - Incoming DOS paths are always handled case-insensitive and get no =
> POSIX
>      permission=2C as if they are mounted with noacl=2Cposix=3D0 mo=
> unt flags.
>  
> My goal is to specify 'noacl' for forward slash UNC paths in order to displ=
> ay file permissions in the same way as they are displayed with backslash UN=
> C paths.
>  
> Is there any way to do this without mounting all file servers in question (=
> we have many) with the 'noacl' option?

No, there's no way to do that.  I played a bit with this and it might
be more feasible to treat all UNC paths as noacl,posix=0.  I added this
problem to my TODO list.


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