delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/05/11:35:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Ll3u5M0WQBzKv62i
lDCgmusPjmUkTWZzkGcEZ1pPtGKFTCQVxBiFhk9YKBwqVz4VsE/wEFiPVa2vX6bJ
hUnf6DYKumtuQLNShx2dkFla6MT7c1Xwv4sz8jYKbIC1cGil9M2JLS9t6Q5cui2R
GL72Ygt9A9/mxiw4yCoa2TRihxI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=ql2TU66rYrTLYalRIzTue6
QxCqY=; b=Vz9bo/W1IGxDz77nBP0oVgzM/1On9d5yyIfkdXFK1R3Jij93aiZjd2
jalNDSoeVAw1dONkUODJBZT6melwcONWCXKU6E5HLaFgSU/fXFVSto6DzsqiAgC0
+JsnaRUycH4NH68Hs5psI0Z1GX2VH72C3PNYYIg1lQp6w18h8cr9w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_SHORT,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=UD:yandex.ru, H*UA:Bat!, H*x:Bat!, H*F:D*yandex.ru
X-HELO: forward103o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1533483302; bh=ilXg5H/exOk22pVVuPoE1FztDYyPvinhXTafU9iIoHw=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=U9JjbAi7N2I8aiNR9dBYZLJ+q4oyko5EAEPeA6sdWG+aJ1crbo4P4ScCJK0hYbBcT 3TWllbYab+m+ilfA2yJg1rDM78T/urWtqWeZweONBH4c7aRepNCyLrtf+dhAZEbsdD MBXUpBpEkb9LRm+/SRiUmGMKYdVftALaxHXzf214=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1533483302; bh=ilXg5H/exOk22pVVuPoE1FztDYyPvinhXTafU9iIoHw=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=U9JjbAi7N2I8aiNR9dBYZLJ+q4oyko5EAEPeA6sdWG+aJ1crbo4P4ScCJK0hYbBcT 3TWllbYab+m+ilfA2yJg1rDM78T/urWtqWeZweONBH4c7aRepNCyLrtf+dhAZEbsdD MBXUpBpEkb9LRm+/SRiUmGMKYdVftALaxHXzf214=
Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sun, 5 Aug 2018 18:22:31 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <174209.20180805182231@yandex.ru>
To: "Stefan Kanthak" <stefan DOT kanthak AT nexgo DOT de>, cygwin AT cygwin DOT com
Subject: Re: Cygwin's ACL handling is NOT interoperable with Windows
In-Reply-To: <3AA6B0E5761945E58833642A6DB75341@W340>
References: <2B3187EFB48B477183C355EDF9660136 AT W340> <1444436439 DOT 20180805170441 AT yandex DOT ru> <3AA6B0E5761945E58833642A6DB75341 AT W340>
MIME-Version: 1.0
X-IsSubscribed: yes

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/


-- 
With best regards,
Andrey Repin
Sunday, August 5, 2018 18:21:42

Sorry for my terrible english...


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