S'identifier - S'inscrire - Contact

CommunityWiki
Jam session in wikilandia

Emacs and TTY

Source :

I’m connecting to Kallobombus via SSH. It runs Debian 7.9 aka Wheezy. Recently a new problem appeared. I can no longer use Emacs unless I’m root.alex@kallobombus:~$ emacs emacs: Could not open file: /dev/tty alex@kallobombus:~$ sudo emacs alex@kallobombus:~$ ls -l /dev/tty crw------- 1 root root 5, 0 Sep 18 08:28 /dev/tty alex@kallobombus:~$ cat /etc/debian_version 7.9 alex@kallobombus:~$ which emacs /usr/bin/emacsWhat’s the problem?On a different server, running Ubuntu 14.04.1 LTS:kensanata@po6:~$ cat /etc/debian_version jessie/sid kensanata@po6:~$ ls -l /dev/tty crw-rw-rw- 1 root tty 5, 0 Sep 15 11:42 /dev/tty kensanata@po6:~$ emacsSo, is the solution to chmod o+rw /dev/tty?Oh well, I ran sudo chmod go+rw /dev/tty and that seemed to fix the problem. I just hope it didn’t create any security issues.Tags: Emacs

le 18.09.15 à 08:34 dans Mind - Version imprimable
Article précédent - Commenter - Article suivant -