🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Kevin Blackwell Wed, 29 Jan 2003 19:52
rnews
#63695
Author: Kevin Blackwell
Date: Wed, 29 Jan 2003 19:52
6 lines
1129 bytes
I'm using this mail2news gateway, I'v been noticing that when my logs 
rotate, the permissions to rnews reset themselves. All of a sudden, 
mail2news.pl can't read rnews. Anyone have any ideas why?

Thanks
Re: rnews
#63689
Author: Jeffrey M. Vinocur
Date: Wed, 29 Jan 2003 22:06
11 lines
1260 bytes
In article <MPG.18a1ecea9e3186c2989681@news.speedsite.com>,
Kevin Blackwell  <akblackwel@yahoo.com> wrote:
>I'm using this mail2news gateway, I'v been noticing that when my logs 
>rotate, the permissions to rnews reset themselves.

To what?

On $pathbin/rnews, or some sort of spool directory?


Re: rnews
#63698
Author: Kevin Blackwell
Date: Thu, 30 Jan 2003 20:20
18 lines
2056 bytes
In article <MPG.18a1ecea9e3186c2989681@news.speedsite.com>, 
akblackwel@yahoo.com says...
> I'm using this mail2news gateway, I'v been noticing that when my logs 
> rotate, the permissions to rnews reset themselves. All of a sudden, 
> mail2news.pl can't read rnews. Anyone have any ideas why?
> 
> Thanks
> 
rnews is located in /usr/bin/rnews. It's a symbolic link to 
/usr/lib/news/bin/rnews. Now I know you might not have a response for 
this, but I'm using mail2news and it tells me to chmod a+rx 
/usr/bin/rnews. But like everyday I have to go back and change 
permissions on rnews. Is this because the symbolic link's permissions 
are different? Believe you me, I do chmod on rnews, everything works. 
then like 24 hrs later, it breaks. Any help would be appreciated.

Kevin
Re: rnews
#63704
Author: Jeffrey M. Vinocur
Date: Thu, 30 Jan 2003 21:04
21 lines
1762 bytes
In article <MPG.18a337ae9392a262989680@news.chi.sbcglobal.net>,
Kevin Blackwell  <akblackwel@yahoo.com> wrote:
> 
>rnews is located in /usr/bin/rnews. It's a symbolic link to 
>/usr/lib/news/bin/rnews. Now I know you might not have a response for 
>this, but I'm using mail2news and it tells me to chmod a+rx 
>/usr/bin/rnews. But like everyday I have to go back and change 
>permissions on rnews. Is this because the symbolic link's permissions 
>are different? Believe you me, I do chmod on rnews, everything works. 
>then like 24 hrs later, it breaks. Any help would be appreciated.

*boggle*

The permissions on the symbolic link shouldn't make any
difference.  I'm at a complete loss here.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews
#63705
Author: Russ Allbery
Date: Thu, 30 Jan 2003 21:11
26 lines
2137 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Kevin Blackwell  <akblackwel@yahoo.com> wrote:

>> rnews is located in /usr/bin/rnews. It's a symbolic link to
>> /usr/lib/news/bin/rnews. Now I know you might not have a response for
>> this, but I'm using mail2news and it tells me to chmod a+rx
>> /usr/bin/rnews. But like everyday I have to go back and change
>> permissions on rnews. Is this because the symbolic link's permissions
>> are different? Believe you me, I do chmod on rnews, everything
>> works. then like 24 hrs later, it breaks. Any help would be
>> appreciated.

> *boggle*

> The permissions on the symbolic link shouldn't make any difference.  I'm
> at a complete loss here.

My suspicion is that you're running some sort of security software on your
system which looks for binaries with unusual permissions and fixes them.

-- 
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.
Re: rnews
#63710
Author: Jeffrey M. Vinocur
Date: Thu, 30 Jan 2003 23:12
21 lines
1758 bytes
In article <yl65s6bax4.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> The permissions on the symbolic link shouldn't make any difference.  I'm
>> at a complete loss here.
>
>My suspicion is that you're running some sort of security software on your
>system which looks for binaries with unusual permissions and fixes them.

*fiddle*

Oh!  I've never tried to chmod a symlink; I didn't expect it to
follow the link and change the permissions on the target file.
Then yes, the above makes some sense...crazy thing for "security"
software to do, though.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews
#63937
Author: Jeffrey M. Vinocur
Date: Fri, 07 Feb 2003 02:56
20 lines
1688 bytes
In article <PAF0a.1674$PH1.965183@newssrv26.news.prodigy.com>,
Kevin Blackwell <kblackwel@ameritech.net> wrote:
>
>-rwsr-x---    1 news     uucp          40K Oct  8 14:31 ../lib/news/bin/rnews
>
>Now I'm going to apply the following command
>chmod a+rx /usr/bin/rnews
>And everything will be fine.

I really don't think it's any part of INN changing those
permissions back.  Next time it breaks, before you chmod it,
check `ls -lc ~news/bin/rnews` to see what the time of the change
was.  Perhaps then you can track down what runs e.g. out of a
system crontab at that time.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews
#63938
Author: Kevin Blackwell
Date: Fri, 07 Feb 2003 03:19
62 lines
3755 bytes
Sorry for not getting back sooner, but I was waiting for the problem to
happen again. OK, so I look in the qmail log and this error message appears.

@400000003e43134738f04d34 status: local 1/10 remote 0/20
@400000003e4313473b1a7c4c delivery 21402: deferral:
mail2news.pl:_can't_run_/usr/bin/rnews/
@400000003e4313473b1aa744 status: local 0/10 remote 0/20

If I reset the permissions, the error message disapears till this happens
again. Now again the last time I did do the command chmod a+xr
/usr/bin/rnews and /usr/lib/news/bin/rnews. Doing a list on rnews currently
has

lrwxrwxrwx    1 root     root           21 Jan 15 14:10 rnews ->
../lib/news/bin/rnews

and the link has

-rwsr-x---    1 news     uucp          40K Oct  8 14:31
../lib/news/bin/rnews

Now I'm going to apply the following command

chmod a+rx /usr/bin/rnews

And everything will be fine.
 Poof...

@400000003e431710314745c4 starting delivery 21444: msg 85470 to local
@400000003e4317103147611c status: local 2/10 remote 0/20
@400000003e431710387bec3c delivery 21443: success: did_0+0+1/

I checked in all of my logs for any kind of security violation that would
reset rnews, but I don't see anything. I know I probably just have a crazy
system and there is no answer to what's happening, but I just wanted to
supply all the information I can. Again thanks again ahead of time.



"Kevin Blackwell" <akblackwel@yahoo.com> wrote in message
news:MPG.18a337ae9392a262989680@news.chi.sbcglobal.net...
> In article <MPG.18a1ecea9e3186c2989681@news.speedsite.com>,
> akblackwel@yahoo.com says...
> > I'm using this mail2news gateway, I'v been noticing that when my logs
> > rotate, the permissions to rnews reset themselves. All of a sudden,
> > mail2news.pl can't read rnews. Anyone have any ideas why?
> >
> > Thanks
> >
> rnews is located in /usr/bin/rnews. It's a symbolic link to
> /usr/lib/news/bin/rnews. Now I know you might not have a response for
> this, but I'm using mail2news and it tells me to chmod a+rx
> /usr/bin/rnews. But like everyday I have to go back and change
> permissions on rnews. Is this because the symbolic link's permissions
> are different? Believe you me, I do chmod on rnews, everything works.
> then like 24 hrs later, it breaks. Any help would be appreciated.
>
> Kevin
>


Re: rnews
#63978
Author: Kevin Blackwell
Date: Mon, 10 Feb 2003 10:51
29 lines
2469 bytes
Actually, it look like inncheck is doing it. It seemes to be happening
overnight around midnight. Right around the time news.daily is run.
Is that not right though?

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:b1v78v$1q9$1@puck.litech.org...
> In article <PAF0a.1674$PH1.965183@newssrv26.news.prodigy.com>,
> Kevin Blackwell <kblackwel@ameritech.net> wrote:
> >
> >-rwsr-x---    1 news     uucp          40K Oct  8 14:31
../lib/news/bin/rnews
> >
> >Now I'm going to apply the following command
> >chmod a+rx /usr/bin/rnews
> >And everything will be fine.
>
> I really don't think it's any part of INN changing those
> permissions back.  Next time it breaks, before you chmod it,
> check `ls -lc ~news/bin/rnews` to see what the time of the change
> was.  Perhaps then you can track down what runs e.g. out of a
> system crontab at that time.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: rnews
#63983
Author: Russ Allbery
Date: Mon, 10 Feb 2003 18:56
15 lines
1754 bytes
Kevin Blackwell <kblackwel@ameritech.net> writes:

> Actually, it look like inncheck is doing it. It seemes to be happening
> overnight around midnight. Right around the time news.daily is run.  Is
> that not right though?

Is something running inncheck -perm -f and piping it into a shell?  That's
not the normal behavior of INN, but it's certainly possible to do.

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