This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.1-1 - forward slash UNC names to use 'noacl'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]