Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-unix!hplabs!nsc!nsta!instable!amos From: amos@instable.UUCP Newsgroups: news.software.b Subject: directory ownership in /usr/spool/news Message-ID: <521@instable.UUCP> Date: Sun, 23-Nov-86 08:07:52 EST Article-I.D.: instable.521 Posted: Sun Nov 23 08:07:52 1986 Date-Received: Mon, 24-Nov-86 01:23:08 EST Distribution: net Organization: National Semiconductor (Israel) Ltd. Lines: 22 Running 2.10.2 on 4.3BSD, I have found out that when a posting was done to a newsgroup whose directory was not there yet, it was created owned by the poster, rather than 'news'; this prevented 'news' from creating any articles in it. It seems that rnews tries to work in the poster's uid rather than use its suid. This 'should not have happened' since each new group is created with its directory, but in one of the latest newsgroup rushes, mkdir sometime failed - it tried to create all groups at once, forking 'inews -C' for each, which sometimes tried to mkdir 'a/b' before 'a' was done. I have noticed that in 2.11, 'checkgroups' is rush-proof since it only tells you what to 'inews -C'; but is the suid behaviour described above a bug or a feature? was it fixed in 2.11? (I'm not waiting for the next rush to find out). -- Amos Shapir National Semiconductor (Israel) 6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel (01-972) 52-522261 amos%nsta@nsc 34.48'E 32.10'N