Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP
Path: utzoo!linus!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!chris
From: chris@umcp-cs.UUCP
Newsgroups: net.news.b
Subject: Re: news 2.10 expire.c owner (bug)
Message-ID: <939@umcp-cs.UUCP>
Date: Mon, 18-Jul-83 17:10:24 EDT
Article-I.D.: umcp-cs.939
Posted: Mon Jul 18 17:10:24 1983
Date-Received: Tue, 19-Jul-83 08:29:11 EDT
References: <5270@mcvax.UUCP>
Organization: Univ. of Maryland, Computer Science Dept.
Lines: 19

[anti-flame notice: I read *all* of the net.news.b list before posting
this.  If someone else has already said the same thing, it hasn't
gotten here yet.]

Careful!  This won't be a problem for most sites, but the order should
be

		setgid (pwd -> pw_gid); setuid (pwd -> pw_uid);

*not* the other way around.  Otherwise, on most systems you'll be left
with the wrong group ID.  That won't be a problem unless you use groups
for something special, though.

				- Chris
-- 
In-Real-Life:	Chris Torek, Univ of MD Comp Sci
UUCP:		{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:		chris@umcp-cs
ARPA:		chris.umcp-cs@UDel-Relay