* 2021-02-28 10:10:05-0900, Tim Johnson wrote: > I have been using the emacs daemon as my system editor. > Works fine as user tim, but if I try it as root, I get the following > error message: Another option is to use "sudoedit" (or "sudo -e") instead of "sudo emacsclient". "sudoedit" uses root access to copy the target file to a temporary location for the current user. Then it starts editing the file with user's default text editor and finally moves the temporary file to the original location. This way the editor doesn't run as the root user. -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450