Thread View: news.software.nntp
4 messages
4 total messages
Started by DEEK
Thu, 24 Aug 2000 00:00
rnews: can't freopen $FILE permission denied
Author: DEEK
Date: Thu, 24 Aug 2000 00:00
Date: Thu, 24 Aug 2000 00:00
34 lines
2352 bytes
2352 bytes
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... However, if I do these activities manually no complaints are given.... Hmmm -- 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! =-----
Re: rnews: can't freopen $FILE permission denied
Author: Russ Allbery
Date: Fri, 25 Aug 2000 00:00
Date: Fri, 25 Aug 2000 00:00
26 lines
1595 bytes
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/>
Re: rnews: can't freopen $FILE permission denied
Author: Russ Allbery
Date: Sat, 26 Aug 2000 00:00
Date: Sat, 26 Aug 2000 00:00
24 lines
1452 bytes
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/>
Re: rnews: can't freopen $FILE permission denied
Author: 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! =-----
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