Date: Wed, 13 Jan 1999 16:20:01 -0800 (PST) From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/9471: msgs: /var/msgs/bounds: No such file or directory Message-ID: <199901140020.QAA05632@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/9471; it has been noted by GNATS. From: "Matthew D. Fuller" <fullermd@futuresouth.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901140020.QAA05632>