🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68002

Re: nntp server recomendation, any ideas?

#68002
From: Russ Allbery
Date: Mon, 09 Feb 2004 21:54
25 lines
2457 bytes
Clément Laforêt <sheepkiller@nerim.net> writes:
> On Sun, 08 Feb 2004 23:32:05 -0800, Russ Allbery wrote:
 
>> Oh.  Okay.  That's not a security bug, that's a bad interaction between
>> FreeBSD wanting to change the default installation directories and
>> INN's installation mechanism, I bet.

> you're right. I try to find a clean fix.

I think this is because install-sh -d does a chown even if it doesn't have
to create the directory.  This was intentionally because it will fix up
permissions problems with things like spool directories, but really INN
needs to take a finer-grained approach to this stuff.  For instance, it
really doesn't make a lot of sense to install the binaries, man pages, and
whatnot owned by the news user.  Really, the news user should only own
things that it's going to modify (spool, db, run, and tmp).

Someday I'll have a chance to overhaul this and add a FHS-compliant option
as well.  Someday.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87k72v9awd.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <86ptcpm2o0.fsf@bogomips.optonline.net> <87znbtkn88.fsf@windlord.stanford.edu> <rone.c07c5e$ttd$1@ennui.org> <874qu0lnd6.fsf@windlord.stanford.edu> <pan.2004.02.09.21.45.43.662423@nerim.net>

Show Full Headers
Complete Article Headers
Message-ID: <87k72v9awd.fsf@windlord.stanford.edu>
Subject: Re: nntp server recomendation, any ideas?
Date: Mon, 09 Feb 2004 13:54:26 -0800
From: Russ Allbery <rra@stanford.edu>
References: <86ptcpm2o0.fsf@bogomips.optonline.net> <87znbtkn88.fsf@windlord.stanford.edu> <rone.c07c5e$ttd$1@ennui.org> <874qu0lnd6.fsf@windlord.stanford.edu> <pan.2004.02.09.21.45.43.662423@nerim.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 25
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 1076363666 5592 171.64.19.147 (9 Feb 2004 21:54:26
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:cTsp7cGIDbh0/vexqcL+ZmXGAf4=