From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id C98893858C27 for ; Wed, 24 Nov 2021 18:19:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C98893858C27 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.34]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 05FA362354 for ; Wed, 24 Nov 2021 19:19:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1637777993; bh=SrfOX8b2rVbkHHC5OCnuzV1myGkdngfa+CWfdHOacwM=; h=From:To:Subject:References:Date:In-Reply-To; b=hU7LwkgN04UZ9dyyemJrSEEwmOSaZsXw7+kPlX16sO515o2F048SAm/5xv//zwi05 lTV0u970fP2iQ8uyigfdh+B+V22vzqs4mpdsrZSEkyjCnOfmUlEJXx19TPpUz7ZT/E ot3NPD7Y2zopm8i00I1/7m2JwObdOcDDkOhJweRk= Received: from Gertrud (p54a0cb96.dip0.t-ipconnect.de [84.160.203.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Hzq6c3MK0z9v9B for ; Wed, 24 Nov 2021 18:19:52 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: zp_man-db-update-index.dash creates C:\cygwin64\%SystemDrive% References: <645cbf8eca7d4451b1faa017d462235d@severstal.com> Date: Wed, 24 Nov 2021 19:19:46 +0100 In-Reply-To: <645cbf8eca7d4451b1faa017d462235d@severstal.com> (=?utf-8?B?ItCc0LjRgNC+0L3QvtCyINCb0LXQvtC90LjQtAnQktC70LDQtNC40LzQuNGA?= =?utf-8?B?0L7QstC40Yc=?= via Cygwin"'s message of "Wed, 24 Nov 2021 09:06:57 +0000") Message-ID: <8735nla01p.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1618 X-purgate-ID: 149169::1637777992-000004DA-0957E5F3/0/0 X-Spam-Status: No, score=-3028.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2021 18:19:56 -0000 =D0=9C=D0=B8=D1=80=D0=BE=D0=BD=D0=BE=D0=B2 =D0=9B=D0=B5=D0=BE=D0=BD=D0=B8= =D0=B4 =D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8= =D1=87 via Cygwin writes: > Recently when cygwin setup runs windows 10 started creating > "C:\cygwin64\%SystemDrive%\ProgramData\Microsoft\Windows\Caches" > folder - exactly like that, with %SystemDrive% not expanded, > containing the following files [=E2=80=A6] > Turned out that the culprit is the > /etc/postinstall/zp_man-db-update-index.dash script which runs at the > end of every setup session, although I couldn't figure why: it just > runs mandb with some fancy redirection and nothing untoward happens > when it is run manually and with admin privileges, but the folder in > question was never created until I ran mandb to create man index which > for some reason was not created automatically during installation, and > when /var/cache/man/index.db is removed which effectively disables > this script this folder is not created. I am baffled. Me too. Apparently this is some bug deep in the bowels of Windows that triggers when neither SystemDrive nor ProgramData are defined in the environment and a new console session gets created. It seems I can work around getting the extra directories created by defining SystemDrive in a certain nonsensical way, but it really is an ugly hack; I'll have to see if there's a better fix. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada