Article View: news.software.readers
Article #661Re: Tin bugs ?
From: Iain Lea
Date: Wed, 02 Oct 1991 17:57
Date: Wed, 02 Oct 1991 17:57
35 lines
1886 bytes
1886 bytes
hakanl@lulea.telesoft.se (H}kan Lennest}l) writes: : hakanl@lulea.telesoft.se (H}kan Lennest}l) writes: : : I have a couple of problems with tin 1.0 PL2. : : : : First: The contents of my .newsrc file disappears. : : Second: When running as setuid news, tin is unable to create the .index files. : : : : I do not have any of thees problems with Tass 3.2. : : : : Are there some bugs around, or is it me ? : : : : I am running on SunOS 4.1 (sun4). : : : I found thees things out myself (after some investigation ...) : The first problem is caused by inteference with "rn". Rn makes .oldnewsrc : as a hard link to .newsrc. Tin copies .newsrc to .oldnewsrc, the file gets : copied to itself, and the result is an empty file. The solution is to put : an "unlink()" of .oldnewsrc in the code before the backup copy is done : (in newsrc.c). : : The second problem is due to bad system calls (at least on SunOS). : Replace the setuid() and setgid() calls in misc.c with seteuid() and : setegid(). These problems have hopefully been sorted in Patch #4. Thanx for the supplied patch. Iain -- NAME Iain Lea EMAIL iain@estevax.uucp ...!unido!estevax!iain SNAIL Siemens AG, ANL 433SZ, 8510 Fuerth-Bislohe, Germany PHONE +49-911-331963 (home) +49-911-895-3853 (work)
Technical Details
Message-ID:
<757@norisc.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!estevax!norisc!iainReferences:
<3787@lulea.telesoft.se>Show Full Headers
Complete Article Headers
Message-ID: <757@norisc.UUCP> Subject: Re: Tin bugs ? Date: Wed, 02 Oct 1991 17:57:02 +0000 From: iain@norisc.UUCP (Iain Lea) References: <3787@lulea.telesoft.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!estevax!norisc!iain Newsgroups: news.software.readers Sender: iain@norisc.UUCP (Iain Lea) Reply-To: iain@estevax.uucp Organization: What organization? Lines: 35