Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!tektronix!uw-beaver!cornell!vax135!houxm!ihnp4!mhuxn!mhuxr!ulysses!allegra!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: net.sources.bugs Subject: Re: /dev/stdin for SVR2 Message-ID: <3879@alice.UUCP> Date: Thu, 20-Jun-85 21:04:42 EDT Article-I.D.: alice.3879 Posted: Thu Jun 20 21:04:42 1985 Date-Received: Mon, 24-Jun-85 06:26:22 EDT References: <334@umcp-cs.UUCP> Organization: Bell Labs, Murray Hill Lines: 32 > This would appear to give write access to read-only files. > What happens if I say > cat /dev/stdin > as root? If you are root, you already have write access to read-only files. If not root, cat /dev/stdin elicits the error message: cat: output - is input whereas: cat >/dev/stdin