From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 62FA6138CBF for ; Fri, 13 Mar 2015 23:23:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5ABA4E0967; Fri, 13 Mar 2015 23:22:58 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 29237E086B for ; Fri, 13 Mar 2015 23:22:57 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 4A7FF26CA2 for ; Fri, 13 Mar 2015 23:22:56 +0000 (GMT) Date: Fri, 13 Mar 2015 23:22:50 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] Message-ID: <20150313232250.12e750ea@digimed.co.uk> In-Reply-To: <20150314000034.10ed9854@hal9000.localdomain> References: <20150313115241.60fee51b1e2d361dcdd99f7c@gmail.com> <125a8276-2199-4dae-8dc9-619ca436e548@email.android.com> <20150313151628.cc840cdef745f8947c944afd@gmail.com> <20150313222829.2423b7f6@digimed.co.uk> <20150314000034.10ed9854@hal9000.localdomain> Organization: Digital Media Production X-Mailer: Claws Mail 3.11.1-75-g9971ef (GTK+ 2.24.27; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/VFYE8sTly656ToQmtRzV.YU"; protocol="application/pgp-signature" X-Archives-Salt: c6ee8a64-005e-46bf-b8de-184b343ee8cc X-Archives-Hash: 753c5a2d5604d9bab08c16004f118ff5 --Sig_/VFYE8sTly656ToQmtRzV.YU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. =20 >=20 > When I logged in as regular user then ownership of the tty that I > used for log in is: >=20 > crw------- 1 wabe tty 4, 1 13. M=C3=A4r 17:49 /dev/tty1 >=20 > When I logged in as root, then owner is root (not surprising). >=20 > crw------- 1 root tty 4, 2 13. M=C3=A4r 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). >=20 > Maybe it would ease things when you write a little script for this > procedure. A udev rule would be less kludgy. --=20 Neil Bothwick I wonder how much deeper would the ocean be without sponges. --Sig_/VFYE8sTly656ToQmtRzV.YU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUDcU8ACgkQum4al0N1GQNm3ACgoE+89PAvTuKfLEPC3viIbccN akYAoJcIxcN2nBEIJmdA85ngijcNBkkj =e+RC -----END PGP SIGNATURE----- --Sig_/VFYE8sTly656ToQmtRzV.YU--