This is the mail archive of the
cygwin
mailing list for the Cygwin project.
1.7.1-1 - forward slash UNC names to use 'noacl'
- From: na na <lotan_rm at hotmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 21 Jan 2010 11:25:05 +0000
- Subject: 1.7.1-1 - forward slash UNC names to use 'noacl'
- References: <1264072229.10648.ezmlm@cygwin.com>
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?
Listing the contents of a directory on our file server (a Samba share) by using 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=0 mount flags.
My goal is to specify 'noacl' for forward slash UNC paths in order to display file permissions in the same way as they are displayed with backslash UNC paths.
Is there any way to do this without mounting all file servers in question (we have many) with the 'noacl' option?
_________________________________________________________________
Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
--
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