Article View: news.software.nntp
Article #48133Re: rnews: can't freopen $FILE permission denied
From: DEEK
Date: Sat, 26 Aug 2000 00:00
Date: Sat, 26 Aug 2000 00:00
59 lines
3122 bytes
3122 bytes
Russ Allbery wrote: > 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/> 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. Apparently $buf = sprintf "%s %s", $RNEWS, $TMP_FILE; system $buf; fails to give the appropriate uid to rnews So, I changed it to print INEWS while <STDIN>; all is well -- I am a ~/.signature virus. I am taking over your ~/.signature file now. Flames to DEEK@Tech-Center.com -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Technical Details
Message-ID:
<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-mailReferences:
<39A5260F.E7D3BCDD@tech-center.com> <ylvgwpy7b7.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <39A80ECF.C3D6235E@tech-center.com> Subject: Re: rnews: can't freopen $FILE permission denied Date: Sat, 26 Aug 2000 00:00:00 +0000 From: DEEK <deek@tech-center.com> References: <39A5260F.E7D3BCDD@tech-center.com> <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 X-Deja-AN: 662854173 X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm Content-Transfer-Encoding: 7bit X-Accept-Language: en, de, fr, es Content-Type: text/plain; charset=us-ascii X-Comments: This message was posted through Newsfeeds.com X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) X-Trace: 26 Aug 2000 17:28:24 -0500, 208.61.223.159 X-Authenticated-User: 7081318 Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. MIME-Version: 1.0 Newsgroups: news.software.nntp X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!