gpg: cannot open /dev/tty: Permission denied

Randy Harmon
Wed, 15 Sep 1999 09:24:31 -0700

From: Werner Koch <>

> Matthias Urlichs <> writes:
> > "chmod 666 /dev/tty".
> >
> > Some Linux boxes have broken permissions for that device file.
> I assumed that he wants to use it in a CGI script or something like
> this and then it is not a good idea to write to the tty anyway.
I want to use it in both contexts. Thanks to everyone for the responses. What exactly is it trying to write to the tty, anyway? Randy