www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/21/06:25:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,SARE_CHARSET_W1251,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL117-W6F5C643353BE31893D2E3F7630@phx.gbl>
From: na na <lotan_rm AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: 1.7.1-1 - forward slash UNC names to use 'noacl'
Date: Thu, 21 Jan 2010 11:25:05 +0000
In-Reply-To: <1264072229.10648.ezmlm@cygwin.com>
References: <1264072229 DOT 10648 DOT ezmlm AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

Listing the contents of a directory on our file server (a Samba share) by t=
=3D
he following command:
=20
=3DA0=3DA0 $ ls -l
=20
or explicitly
=20
=3DA0=3DA0 $ ls -l ./
=20
the output is
=20
=3DA0=3DA0 ----------+ 1 ???????? <group> 600 2009-09-09 11:12 README.txt
=3DA0=3DA0 d---------+ 1 ???????? <group>=3DA0=3DA0 0 2009-09-09 11:03 conf
=20
whereas the following command:
=20
=3DA0=3DA0 $ ls -l .\\
=20
outputs
=20
=3DA0=3DA0 -rw-r--r-- 1 <user> <group> 600 2009-09-09 11:12 README.txt
=3DA0=3DA0 drwxr-xr-x 1 <user> <group>=3DA0=3DA0 0 2009-09-09 11:03 conf
=20
I presume this behaviour has something to do with this point:
=20
   http://cygwin.com/cygwin-ug-net/ov-new1.7.html:
=20
   - Incoming DOS paths are always handled case-insensitive and get no =3D
POSIX
     permission=3D2C as if they are mounted with noacl=3D2Cposix=3D3D0 mo=
=3D
unt flags.
=20
My goal is to specify 'noacl' for forward slash UNC paths in order to displ=
=3D
ay file permissions in the same way as they are displayed with backslash UN=
=3D
C paths.
=20
Is there any way to do this without mounting all file servers in question (=
=3D
we have many) with the 'noacl' option?
Listing the contents of a directory on our file server (a Samba share) by u=
sing the following command:

   $ ls -l

or explicitly

   $ ls -l ./

outputs

   ----------+ 1 ???????? <group> 600 2009-09-09 11:12 README.txt
   d---------+ 1 ???????? <group>   0 2009-09-09 11:03 conf

whereas the following command:

   $ ls -l .\\

outputs

   -rw-r--r-- 1 <user> <group> 600 2009-09-09 11:12 README.txt
   drwxr-xr-x 1 <user> <group>   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, as if they are mounted with noacl,posix=3D0 mount 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?
=20=09=09=20=09=20=20=20=09=09=20=20
_________________________________________________________________
Windows Live: Make it easier for your friends to see what you=92re up to on=
 Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so=
cial-network-basics.aspx?ocid=3DPID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092=
009

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