diff options
| author | Glenn Morris | 2018-11-13 13:15:39 -0500 |
|---|---|---|
| committer | Glenn Morris | 2018-11-13 13:15:39 -0500 |
| commit | 5c0d8bb95bbd5354e6b2cd2e56a91afe4e780759 (patch) | |
| tree | b7ab493d579c39442b3aa497ca00ceb38894aa32 /etc | |
| parent | 578c905ac758de41145a2e080da1e1c1c5c6b1ee (diff) | |
| download | emacs-5c0d8bb95bbd5354e6b2cd2e56a91afe4e780759.tar.gz emacs-5c0d8bb95bbd5354e6b2cd2e56a91afe4e780759.zip | |
Root emacsclient no longer connects to non-root sockets
* lib-src/emacsclient.c (set_local_socket): Don't ignore socket
ownership when run by root.
Ref: http://lists.gnu.org/r/emacs-devel/2018-11/msg00019.html
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -119,13 +119,19 @@ the new version of the file again.) | |||
| 119 | 119 | ||
| 120 | * Changes in Emacs 27.1 | 120 | * Changes in Emacs 27.1 |
| 121 | 121 | ||
| 122 | ** emacsclient | ||
| 123 | |||
| 122 | +++ | 124 | +++ |
| 123 | ** emacsclient now supports the 'EMACS_SOCKET_NAME' environment variable. | 125 | *** emacsclient now supports the 'EMACS_SOCKET_NAME' environment variable. |
| 124 | The behavior is identical to 'EMACS_SERVER_FILE', in that the | 126 | The behavior is identical to 'EMACS_SERVER_FILE', in that the |
| 125 | command-line value specified via '--socket-name' will override the | 127 | command-line value specified via '--socket-name' will override the |
| 126 | environment, and the natural default to TMPDIR, then "/tmp", continues | 128 | environment, and the natural default to TMPDIR, then "/tmp", continues |
| 127 | to apply. | 129 | to apply. |
| 128 | 130 | ||
| 131 | --- | ||
| 132 | *** When run by root, emacsclient no longer connects to non-root sockets. | ||
| 133 | (Instead you can use Tramp methods to run root commands in a non-root Emacs.) | ||
| 134 | |||
| 129 | +++ | 135 | +++ |
| 130 | ** The function 'read-passwd' uses '*' as default character to hide passwords. | 136 | ** The function 'read-passwd' uses '*' as default character to hide passwords. |
| 131 | 137 | ||