🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Georg Schwarz Mon, 24 Jun 1996 00:00
making tmp files *not* world readable with nn?
#7689
Author: Georg Schwarz
Date: Mon, 24 Jun 1996 00:00
18 lines
1398 bytes
I'm using nn 6.5.0b3 as an NNTP-only newsreader. How can I prevent
temporary editor files (called nn.XXXXXX) from being world-readable?
We've compiled nn to save all temporary files in /tmp, but that makes
them accessible to all other users. So is there a way I can prevent others
from being able to read someone's outgoing mail created in nn, short of
using an individual tmp-Dir (such as ~/.nn/tmp) for every user?

To make things worse, nn does not seem to remove the tmp-files created in
a session if it is quit with shift-Q.

Any hints are welcome. Thanks.
-- 
Georg Schwarz (schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de, PGP 2.6ui)
Institut f�r Theoretische Physik  +49 30 314-24254   FAX -21130   IRC kuroi
Technische Universit�t Berlin  http://itp1.physik.tu-berlin.de/~schwarz/

Re: making tmp files *not* world readable with nn?
#7691
Author: Amos Shapir
Date: Tue, 25 Jun 1996 00:00
10 lines
882 bytes
Try to set "umask" to 66 before starting nn.

--
	Amos Shapir		Net: amos@nsof.co.il
Paper: nSOF Parallel Software, Ltd.
       Givat-Hashlosha 48800, Israel
Tel: +972 3 9388551   Fax: +972 3 9388552        GEO: 34 55 15 E / 32 05 52 N

Re: making tmp files *not* world readable with nn?
#7692
Author: Georg Schwarz
Date: Wed, 26 Jun 1996 00:00
14 lines
1165 bytes
amos@nsof.co.il (Amos Shapir) writes:

>Try to set "umask" to 66 before starting nn.

we solved the problem by interting a 'umask 077' at the beginning of
the /usr/local/lib/nn/aux script. Maybe something the programmers should
also do in the next release.
-- 
Georg Schwarz (schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de, PGP 2.6ui)
Institut f�r Theoretische Physik  +49 30 314-24254   FAX -21130   IRC kuroi
Technische Universit�t Berlin  http://itp1.physik.tu-berlin.de/~schwarz/

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