🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48126

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

#48126
From: Russ Allbery
Date: Sat, 26 Aug 2000 00:00
24 lines
1452 bytes
DEEK <deek@tech-center.com> writes:
> Russ Allbery wrote:

>> 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.

> was:
> 77 -rwsr-sr-x    1 uucp     news        77336 Jul 24 07:00 /usr/bin/rnews

> is:
> 77 -r-sr-xr-x    1 uucp     news        77336 Jul 24 07:00 /usr/bin/rnews

> no affect was noted.

Same problem either way.

Do you actually use UUCP?  If not, chown news rnews, chmod 550 rnews.  Not
only will it solve this problem, it will make rnews more secure.

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

Technical Details
Message-ID: <ylbsyfhc6p.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> <ylvgwpy7b7.fsf@windlord.stanford.edu> <39A80ECF.C3D6235E@tech-center.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylbsyfhc6p.fsf@windlord.stanford.edu>
Subject: Re: rnews: can't freopen $FILE permission denied
Date: Sat, 26 Aug 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <39A5260F.E7D3BCDD@tech-center.com> <ylvgwpy7b7.fsf@windlord.stanford.edu> <39A80ECF.C3D6235E@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: 662857997
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