🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by H}kan Lennest}l Fri, 27 Sep 1991 11:09
Tin bugs ?
#652
Author: H}kan Lennest}l
Date: Fri, 27 Sep 1991 11:09
10 lines
918 bytes
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).
Re: Tin bugs ?
#660
Author: Bart Sears
Date: Fri, 27 Sep 1991 20:12
9 lines
1064 bytes
On hp-ux 7.0 running on a HP s800 machine, tin 1.0 PL2 correctly reads
and writes the .newsrc file and when running suid correctly writes the
.index files.  However, it seems to have some problems highlighting the
correct line (selected item) in the index and group pages.  It also has
problems when adding items to the kill file.  When an item is added, all
of the articles in the current group become "unread".

							Bart
Re: Tin bugs ?
#654
Author: H}kan Lennest}l
Date: Fri, 27 Sep 1991 23:53
36 lines
1838 bytes
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().

I hope this helps someone.

  o
/Hakan


-- 
--------------------------------------------------------------------------------
 E-mail: hakanl@lulea.telesoft.se       | Hakan Lennestal, Telia Research AB
 Fax:    +46-920-75490                  | Aurorum 6
 Voice:  +46-920-75459                  | S-95175 LULEA
Re: Tin bugs ?
#661
Author: Iain Lea
Date: Wed, 02 Oct 1991 17:57
35 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads