This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin's ACL handling is NOT interoperable with Windows
- From: Michael Wild <themiwi at gmail dot com>
- To: cygwin at cygwin dot com
- Cc: Stefan Kanthak <stefan dot kanthak at nexgo dot de>
- Date: Mon, 6 Aug 2018 08:15:27 +0200
- Subject: Re: Cygwin's ACL handling is NOT interoperable with Windows
- References: <2B3187EFB48B477183C355EDF9660136@W340> <1444436439.20180805170441@yandex.ru> <3AA6B0E5761945E58833642A6DB75341@W340> <174209.20180805182231@yandex.ru>
On Sun, Aug 5, 2018 at 5:35 PM Andrey Repin <anrdaemon@yandex.ru> wrote:
> Greetings, Stefan Kanthak!
>
> > Andrey Repin wrote:
>
> >> Greetings, Stefan Kanthak!
> >>
> >>> PS: <https://cygwin.com/cygwin-ug-net/using.html#pathnames-win32-api>
> >>> too states bloody lies:
> >>
> >>> | The Windows subsystem only supports CWD paths of up to 258 chars.
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>
> >> 260 including drive letter.
>
> > WRONG, AGAIN!
> > 260 is the value of MAX_PATH, which accounts for the trailing \0, and
> > commonly used as
>
> > | char buffer[MAX_PATH];
>
> > I recommend to read
> > <https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file>
> > VERY careful!
>
> >>> The Win32 API supports pathnames with up to 32767 (Unicode)
> characters;
> >>> this includes of course the CWD!
> >>
> >> CWD may be, but command processor does not.
>
> > Neither Cygwin's WRONG documentation nor I referred to the command
> processor.
>
> I think, this is an appropriate response to the underlying issue:
> https://xkcd.com/386
+1 from me.
I propose to ignore Stefan until he learns his manners, is less
cantankerous and maybe even volunteers to submit a patch if indeed there is
a problem with the ACL handling (although, to be honest, I can hardly
imagine it, Corinna being involved...).
Michael
--
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