Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Konsole issue
Date: Tue, 03 Jan 2012 00:10:40
Message-Id: 20120103000552.3e663b41@hactar.digimed.co.uk
1 On Mon, 2 Jan 2012 22:59:01 +0000, Mick wrote:
2
3 > > /dev/pts is root:root here. The files within it are user:tty, but they
4 > > are neither group readable nor writeable, so the group ownership is
5 > > possibly not that relevant.
6 >
7 > Hmm ...
8 >
9 > They are writeable here (with 1 urxvt running):
10 >
11 > /dev/pts:
12 > total 0
13 > drwxr-xr-x 2 root root 0 Jan 2 22:27 .
14 > drwxr-xr-x 15 root root 3960 Jan 2 22:28 ..
15 > crw--w---- 1 michael tty 136, 0 Jan 2 22:36 0
16 > crw--w---- 1 michael tty 136, 1 Jan 2 22:51 1
17 >
18 > and with without the writeable bit for group when I also fire a konsole:
19 >
20 > $ ls -la /dev/pts
21 > total 0
22 > drwxr-xr-x 2 root root 0 Jan 2 22:27 .
23 > drwxr-xr-x 15 root root 3960 Jan 2 22:28 ..
24 > crw--w---- 1 michael tty 136, 0 Jan 2 22:36 0
25 > crw--w---- 1 michael tty 136, 1 Jan 2 22:52 1
26 > crw------- 1 michael tty 136, 2 Jan 2 22:55 2
27 >
28 > So, the konsole seems to run with more restrictions than urxvt?
29
30 Yes. It was the Konsole ptys I was referring to.
31
32
33 --
34 Neil Bothwick
35
36 Old hitchhikers never die-they just throw in the towel.

Attachments

File name MIME type
signature.asc application/pgp-signature