lkml.org 
[lkml]   [1998]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectStrange behaviour of devfs wrt /dev/tty




Hi,
I noticed the following strange behaviour with devfs (patch-v27,
kernel 2.1.98). If some program opens /dev/tty (e.g. "cat < /dev/tty")
/dev/tty suddenly changes owner/group (to the uid/gid of the
program opening the device) and permissions (600). The problem is:
all other processes on the system see the _same_ permissions
of /dev/tty. Shouldn't that be visible only to the processes with
the same controlling terminal?
Cheers, Roderich
--
Neben Eden eben
Neben Amor
nie adretter
die Liebe grte!
Bier! Feten!
Gesegnete Freibetrge!
Bei Leid Retter da!
.. ein Roman eben.
Roderich Schupp mailto:rsch@ExperTeam.de
ExperTeam GmbH http://www.experteam.de/
Munich, Germany linux:2.1.98



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.050 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site