GNU bug report logs -
#20999
24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon
Previous Next
Reported by: Mike Alexander <mikealexander1860 <at> gmail.com>
Date: Tue, 7 Jul 2015 05:00:03 UTC
Severity: normal
Tags: moreinfo, wontfix
Found in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Mike Alexander wrote:
> Starting the emacs daemon with "emacs --daemon=$EMACS_DAEMON_NAME", where
> the $EMACS_DAEMON_NAME matches the standard letter, number, underscore
> requrements, ends up using
> my UID in the socket creation since my username is longer than 8
> characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME").
I've never seen this use anything BUT the UID, no matter how long your
username is. That's what it has always used for me, with a two character
username, and emacsclient works fine.
Nevertheless, I tried with a username with more than 8 chars, and that
too worked fine.
> However, running "emacsclient -c -s $EMACS_DAEMON_NAME" fails with a
> refused connection because it attempts to connect using my username
> instead of the UID and fails to find the socket
> ("/tmp/emacs$USER/$EMACS_DAEMON_NAME").
How did you conclude that it was trying to use your username?
I don't suppose you have a huge UID?
Are you sure your version of emacsclient matches your version of emacs?
This bug report was last modified 8 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.