From owner-freebsd-bugs Wed Jan 13 16:20:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27234 for freebsd-bugs-outgoing; Wed, 13 Jan 1999 16:20:38 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27224 for ; Wed, 13 Jan 1999 16:20:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA05632; Wed, 13 Jan 1999 16:20:01 -0800 (PST) Date: Wed, 13 Jan 1999 16:20:01 -0800 (PST) Message-Id: <199901140020.QAA05632@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "Matthew D. Fuller" Subject: Re: bin/9471: msgs: /var/msgs/bounds: No such file or directory Reply-To: "Matthew D. Fuller" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/9471; it has been noted by GNATS. From: "Matthew D. Fuller" To: ru@ucb.crimea.ua, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/9471: msgs: /var/msgs/bounds: No such file or directory Date: Wed, 13 Jan 1999 18:17:46 -0600 > | The file /var/msgs/bounds shows the low and high number of the messages > | in the directory so that msgs can quickly determine if there are no > | messages for you. If the contents of bounds is incorrect it can be fixed > | by removing it; msgs will make a new bounds file the next time it is run. Simply removing that check will introduce another bug (which was what I worked around in that patch). Looking at it now, I the flaw in it. However, since /var/msgs isn't world writable, that will die with an unhelpful error message if you, for instance, run msgs -p as a normal user in your login files. You'd need to add checks for that. I'll take a look at this later tonite and see if I can put together a nicer patch. --- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | Matthew Fuller http://www.over-yonder.net/~fullermd | * fullermd@futuresouth.com fullermd@over-yonder.net * | UNIX Systems Administrator Specializing in FreeBSD | * FutureSouth Communications ISPHelp ISP Consulting * | "The only reason I'm burning my candle at both ends, | * because I haven't figured out how to light the * | middle yet" | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message