unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "numbchild@gmail.com" <numbchild@gmail.com>
To: emacs-help <help-gnu-emacs@gnu.org>
Subject: pinentry start report error ‘/tmp/emacs1000’ is not a safe directory
Date: Thu, 8 Aug 2019 19:06:44 +0800	[thread overview]
Message-ID: <CAL1eYuLsyyrJEJUGxqeyUmqgwrZA+nAJ7LC23zKgH648OUiWbQ@mail.gmail.com> (raw)

I configure pinentry:

#+begin_src emacs-lisp
(use-package pinentry
  :ensure t
  :init (pinentry-start))
#+end_src


But Emacs raise error:

#+begin_example
Debugger entered--Lisp error: (error "‘/tmp/emacs1000’ is not a safe
directory because i...")
  signal(error ("‘/tmp/emacs1000’ is not a safe directory because i..."))
  error("`%s' is not a safe directory because %s" "/tmp/emacs1000" "it is a
symlink")
  server-ensure-safe-dir("/tmp/emacs1000")
  pinentry-start()
  eval((pinentry-start) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  eros-eval-last-sexp(nil)
  funcall-interactively(eros-eval-last-sexp nil)
  call-interactively(eros-eval-last-sexp nil nil)
  command-execute(eros-eval-last-sexp)
#+end_example

- My Emacs version (compiled from master branch source code):

  GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) of
  2019-07-09

- pinentry version: 0.1 from GNU ELPA

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/


             reply	other threads:[~2019-08-08 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 11:06 numbchild [this message]
2019-08-08 12:06 ` pinentry start report error ‘/tmp/emacs1000’ is not a safe directory Noam Postavsky
2019-08-09  0:28   ` [SOLVED] " numbchild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL1eYuLsyyrJEJUGxqeyUmqgwrZA+nAJ7LC23zKgH648OUiWbQ@mail.gmail.com \
    --to=numbchild@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).