From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57562: [PATCH] * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fail more gracefully Date: Sat, 03 Sep 2022 22:28:20 +0300 Message-ID: <83czccmf57.fsf@gnu.org> References: <83wnakmqw6.fsf@gnu.org> <83v8q4mq8k.fsf@gnu.org> <83r10smotk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38204"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57562@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 21:29:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oUYpM-0009m4-9r for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 21:29:12 +0200 Original-Received: from localhost ([::1]:33866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUYpK-0003kX-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 15:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUYpC-0003kM-Ku for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 15:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUYpC-0003ur-C5 for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 15:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUYpC-00007W-58 for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57562-submit@debbugs.gnu.org id=B57562.1662233333448 (code B ref 57562); Sat, 03 Sep 2022 19:29:02 +0000 Original-Received: (at 57562) by debbugs.gnu.org; 3 Sep 2022 19:28:53 +0000 Original-Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUYp3-000079-5l for submit@debbugs.gnu.org; Sat, 03 Sep 2022 15:28:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUYp1-00006t-QE for 57562@debbugs.gnu.org; Sat, 03 Sep 2022 15:28:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUYow-0003tq-Jp; Sat, 03 Sep 2022 15:28:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Am34ctO9f5fMYHvRJY3jg6iumKshWSS7jSH1m1mfk1Q=; b=A/SeL4pIOBJ1 EEO3gNCRJ1VHfUkeexarMbwbnl85OMoOy+yFCPL+S1lyVRZUx9/QNja1cpIaUTdhM261ZWkbTkas7 BXpd2qPdcjWeqeQ/307iUH1XBsPAzvW3eJKwcodBbQNZ2+rhqIZQpQG6ZEcLa0UBIssvrj/ZQgr8W LA/3BIUDqYCqI7op1vHas2cJ0+NKWfZfoREo7OGnSJgVB+OjXyXRqUyzxP3l8s+hGAOsWVP4w+eCa 3YfjQMlwJ2dYTTr4hhRM8WCjHfWjOuQFqDhm7FTwVxxKeBnJV2N/aj8lXxi2zc6bTjRLbnCYAJc2J GL28+Af377PnPxQ5asp94Q==; Original-Received: from [87.69.77.57] (port=2969 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUYow-0005M6-2H; Sat, 03 Sep 2022 15:28:46 -0400 In-Reply-To: (message from Stefan Monnier on Sat, 03 Sep 2022 15:16:23 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241445 Archived-At: > From: Stefan Monnier > Cc: 57562@debbugs.gnu.org > Date: Sat, 03 Sep 2022 15:16:23 -0400 > > > I guess that's enough for Emacs 28. (And I do wonder how come people > > come up with unwritable home directories.) > > In the discussion of that Debian bug#1017739, Russ Allbery mentions > a(n unrelated) problem which can lead to this: > > % su > # emacs > > If the user hasn't yet used Emacs (and depending on the details of which > version of `su` you use) this can create > a /home//.emacs.d/eln-cache that's owned by root because we create > that dir according to `~$USER` rather than according to `$HOME`. I didn't mean to say that I didn't understand how this could happen _technically_. What I don't get is how come people let this happen, and don't pay attention until Emacs complains? Isn't it crazy to have your home directory unwritable by your user??