GNU bug report logs - #32004
25.2; Package-install-package Failed to verify signature file-error Setting current directory No such file or directory

Previous Next

Package: emacs;

Reported by: Mike Dupont <jamesmikedupont <at> googlemail.com>

Date: Fri, 29 Jun 2018 11:10:02 UTC

Severity: minor

Tags: easy

Found in version 25.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 32004 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 32004 <at> debbugs.gnu.org, Mike Dupont <jamesmikedupont <at> googlemail.com>
Subject: Re: bug#32004: 25.2; Package-install-package Failed to verify
 signature file-error Setting current directory No such file or directory
Date: Sat, 28 Sep 2019 19:43:35 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Is there a standard thing we can use in these circumstances where it
> doesn't much matter what default-directory is, other than that it has to
> exist?  (And probably has to be readable.)
>
> A `with-ensured-directory' or something might be nice?  Or do we just
> bind default-directory to "/"?

I'd prefer to bind it to "~" to make sure it's writable too (just in
case).  Also, emacs run as root doesn't risk polluting "/" with
spurious temporary files if there is some writing going on when there
shouldn't be.  Or we could use the same value as
url-temporary-directory: (or (getenv "TMPDIR") "/tmp")

Not sure if we want a general facility here, but I guess that depends
on how common these kinds of issues are.

Best regards,
Stefan Kangas




This bug report was last modified 3 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.