From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
Date: Fri, 13 Mar 2015 23:22:50 +0000 [thread overview]
Message-ID: <20150313232250.12e750ea@digimed.co.uk> (raw)
In-Reply-To: <20150314000034.10ed9854@hal9000.localdomain>
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
On Sat, 14 Mar 2015 00:00:34 +0100, wabenbau@gmail.com wrote:
> > /dev/tty1 is already group writeable, so you should get the same
> > result by adding your user to the tty group.
>
> When I logged in as regular user then ownership of the tty that I
> used for log in is:
>
> crw------- 1 wabe tty 4, 1 13. Mär 17:49 /dev/tty1
>
> When I logged in as root, then owner is root (not surprising).
>
> crw------- 1 root tty 4, 2 13. Mär 23:47 /dev/tty2
Interesting, here, as a normal user:
% ls -l /dev/tty1
crw--w---- 1 root tty 4, 1 Mar 13 22:26 /dev/tty1
> So it seems that after login you first have to chmod 770 the tty before
> you do a su - user (user have to be in group tty of course).
>
> Maybe it would ease things when you write a little script for this
> procedure.
A udev rule would be less kludgy.
--
Neil Bothwick
I wonder how much deeper would the ocean be without sponges.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2015-03-13 23:23 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 15:52 [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check German
2015-03-13 15:59 ` Neil Bothwick
2015-03-13 16:06 ` German
2015-03-13 16:11 ` Canek Peláez Valdés
2015-03-13 16:22 ` German
2015-03-13 16:31 ` Canek Peláez Valdés
2015-03-13 16:38 ` German
2015-03-13 19:16 ` [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] German
2015-03-13 22:28 ` Neil Bothwick
2015-03-13 23:00 ` wabenbau
2015-03-13 23:12 ` German
2015-03-13 23:22 ` Neil Bothwick [this message]
2015-03-13 23:28 ` Neil Bothwick
2015-03-13 23:33 ` German
2015-03-13 23:55 ` Peter Humphrey
2015-03-14 0:07 ` wabenbau
2015-03-14 0:14 ` wabenbau
2015-03-14 16:13 ` Tom H
2015-03-14 0:16 ` wabenbau
2015-03-14 10:08 ` German
2015-03-14 10:33 ` Neil Bothwick
2015-03-14 10:47 ` German
2015-03-14 18:53 ` Matti Nykyri
2015-03-14 19:23 ` Alan McKinnon
2015-03-15 7:21 ` Matti Nykyri
2015-03-15 9:52 ` Peter Humphrey
2015-03-17 16:11 ` German
2015-03-17 17:16 ` Matti Nykyri
2015-03-17 17:33 ` German
2015-03-17 18:39 ` Matti Nykyri
2015-03-17 19:52 ` German
2015-03-17 20:14 ` Matti Nykyri
2015-03-17 20:31 ` German
2015-03-17 15:36 ` German
2015-03-14 18:03 ` Tom H
2015-03-17 15:42 ` German
2015-03-17 20:59 ` Tom H
2015-03-13 23:10 ` Peter Humphrey
2015-03-13 23:25 ` Neil Bothwick
2015-03-13 23:50 ` Peter Humphrey
2015-03-13 21:18 ` [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Yet another update] German
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150313232250.12e750ea@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox