Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!cmcl2!philabs!westpt!boyter From: boyter@westpt.UUCP (Cpt Brian Boyter) Newsgroups: net.sources.bugs Subject: group ID bug in "msg" mailer Message-ID: <172@westpt.UUCP> Date: Wed, 23-Apr-86 22:34:31 EST Article-I.D.: westpt.172 Posted: Wed Apr 23 22:34:31 1986 Date-Received: Sat, 26-Apr-86 06:30:50 EST Organization: US Military Academy, West Point, NY Lines: 21 Keywords: msg I recently installed "msg" on an AT&T 3B2 and uncovered the following problem... I don't know if everyone has this problem... when you quit "msg" and are deleting all the files in /usr/mail/user, "msg" deletes the /usr/mail/user's file, then creates an empty file in its place.... this new file has a group ID the same as the user but the group ID should be "mail" or else the mailer cannot append incoming mail... The solution is to modify leavembox.c: Change: chown(infile, userid, getgid()); to: chown(infile, userid, getegid()); Then in the Makefile where msg is installed: Change from: chmod 4755 ${DEST}/msg to: chmod 6755 ${DEST}/msg add: chgrp mail ${DEST}/msg Hope this helps... Your old buddy, Brian Boyter philabs!westpt!boyter