X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 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= From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: zp_man-db-update-index.dash creates C:\cygwin64\%SystemDrive% References: <645cbf8eca7d4451b1faa017d462235d AT severstal DOT 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 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AOIKDVX004097 Миронов Леонид Владимирович 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 […] > 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. -- +<[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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple