🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48091

Re: rnews: can't freopen $FILE permission denied

#48091
From: Russ Allbery
Date: Fri, 25 Aug 2000 00:00
26 lines
1595 bytes
DEEK <deek@tech-center.com> writes:

> Using mail2news to populate local only groups I get the following
> from inn-2.2.3 (RedHat 7.0)

> Aug 23 23:40:45 monster innd: localhost connected 23
> Aug 23 23:40:45 monster innd: localhost:23 closed seconds 0 accepted
> 0 refused 0 rejected 0
> Aug 24 00:24:45 monster rnews: cant freopen /tmp/m2n.21249 Permission
> denied

> previous to the install of inn-2.2.3 I used whatever rev came with
> RedHat 6.1 (I've fogotten now)
> and all was great...
> I have cron sked to connect and get mail procmail is filtering and
> piping mail into /usr/bin/m2n.pl
> all is good up until rnews is called...

procmail sets a umask of 077 by default, I believe.  Is rnews setuid?  I'm
guessing the user rnews is running as doesn't have permissions on the
mail2news temporary file.

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

Technical Details
Message-ID: <ylvgwpy7b7.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.mbox.zip!not-for-mail
References: <39A5260F.E7D3BCDD@tech-center.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylvgwpy7b7.fsf@windlord.stanford.edu>
Subject: Re: rnews: can't freopen $FILE permission denied
Date: Fri, 25 Aug 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <39A5260F.E7D3BCDD@tech-center.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 662306270
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp