🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Ayoub RAffoul Tue, 13 Feb 1996 00:00
Help : cron job error news.daily permission denied
#4887
Author: Ayoub RAffoul
Date: Tue, 13 Feb 1996 00:00
30 lines
1346 bytes
Hello

I have been getting an error in the output from the "cron" command.
The error is
-----------------------------------------
/local/news/bin/news.daily 
produced the following output :

/local/news/bin/news.daily: /local/news/bin/rnews : Permission denied
---------------------------------------------
does anybody know what is the problem ?

news.daily is owned by news and is read and excute by all -r-xr-xr-x

rnews is a directory, owned by news and it is read write and excute by all.

all files in rnews are owned by news and they are all read/excute 
by all, except rnews is -r-xr-sr-x

Can somebody please help me

I appreciate all the help I can get

Thank you

Ayoub 
araffoul@pipsc.ca


Re: Help : cron job error news.daily permission denied
#4889
Author: Dave Barr
Date: Tue, 13 Feb 1996 00:00
19 lines
1246 bytes
In article <4fq5ps$2sp@news.nstn.ca>, Ayoub RAffoul  <araffoul@pipsc.ca> wrote:
>-----------------------------------------
>/local/news/bin/news.daily 
>produced the following output :
>
>/local/news/bin/news.daily: /local/news/bin/rnews : Permission denied
>---------------------------------------------
>does anybody know what is the problem ?
>
>news.daily is owned by news and is read and excute by all -r-xr-xr-x
>
>rnews is a directory, owned by news and it is read write and excute by all.

It looks like news.daily is trying to run /local/news/bin/rnews, which
as you say is a directory, not a program.

--Dave

Re: Help : cron job error news.daily permission denied
#4932
Author: Marc Roger
Date: Wed, 14 Feb 1996 00:00
32 lines
1746 bytes
On 13 Feb 1996 19:13:12 GMT, in news:<4fqns8$d20@dodgson.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote in news.software.nntp:
>In article <4fq5ps$2sp@news.nstn.ca>, Ayoub RAffoul  <araffoul@pipsc.ca> wrote:
>>-----------------------------------------
>>/local/news/bin/news.daily 
>>produced the following output :
>>
>>/local/news/bin/news.daily: /local/news/bin/rnews : Permission denied
>>---------------------------------------------
>>does anybody know what is the problem ?
>>
>>news.daily is owned by news and is read and excute by all -r-xr-xr-x

>>rnews is a directory, owned by news and it is read write and excute by all.

eeeuw. There shouldn't be any such permissions for any directory.

>It looks like news.daily is trying to run /local/news/bin/rnews, which
>as you say is a directory, not a program.
>
>--Dave

Wild guessing you've been confused between 
_PATH_RNEWS             /bin/rnews
_PATH_RNEWSPROGS        /local/news/bin/rnews                                   
in config.data 

-- 
Marc Roger


Re: Help : cron job error news.daily permission denied
#4935
Author: Ayoub RAffoul
Date: Wed, 14 Feb 1996 00:00
32 lines
1665 bytes
barr@math.psu.edu (Dave Barr) wrote:
>In article <4fq5ps$2sp@news.nstn.ca>, Ayoub RAffoul  <araffoul@pipsc.ca> wrote:
>>-----------------------------------------
>>/local/news/bin/news.daily 
>>produced the following output :
>>
>>/local/news/bin/news.daily: /local/news/bin/rnews : Permission denied
>>---------------------------------------------
>>does anybody know what is the problem ?
>>
>>news.daily is owned by news and is read and excute by all -r-xr-xr-x
>>
>>rnews is a directory, owned by news and it is read write and excute by all.
>
>It looks like news.daily is trying to run /local/news/bin/rnews, which
>as you say is a directory, not a program.
>
>--Dave


What should I do to fix the problem ? 
and what does rnews do ?
Should I make my news.daily run the rnews program in the rnews directory?
And if so how would I do it ? should I change the path of rnews 
in the innshellvars ?

Thank you for your help

     Ayoub...


Re: Help : cron job error news.daily permission denied
#5015
Author: Ayoub RAffoul
Date: Fri, 16 Feb 1996 00:00
47 lines
2222 bytes
marc@belnet.be (Marc Roger) wrote:
>On 13 Feb 1996 19:13:12 GMT, in news:<4fqns8$d20@dodgson.math.psu.edu>,
>Dave Barr <barr@math.psu.edu> wrote in news.software.nntp:
>>In article <4fq5ps$2sp@news.nstn.ca>, Ayoub RAffoul  <araffoul@pipsc.ca> wrote:
>>>-----------------------------------------
>>>/local/news/bin/news.daily 
>>>produced the following output :
>>>
>>>/local/news/bin/news.daily: /local/news/bin/rnews : Permission denied
>>>---------------------------------------------
>>>does anybody know what is the problem ?
>>>
>>>news.daily is owned by news and is read and excute by all -r-xr-xr-x
>
>>>rnews is a directory, owned by news and it is read write and excute by all.
>
>eeeuw. There shouldn't be any such permissions for any directory.
>
>>It looks like news.daily is trying to run /local/news/bin/rnews, which
>>as you say is a directory, not a program.
>>
>>--Dave
>
>Wild guessing you've been confused between 
>_PATH_RNEWS             /bin/rnews
>_PATH_RNEWSPROGS        /local/news/bin/rnews                                   
>in config.data 
>
>-- 
>Marc Roger
>

To fix the problem I edited the news.daily script and made it run the 
rnews program insted of the rnews directory. I made a direct change 
in the code of news.daily.

That seemed to have fixed the problem. I hope !!!

However I still do not know what rnews does??
Can somebody please tell me !!!

Thank you for your help
Ayoub Raffoul
araffoul@pipsc.ca


Re: Help : cron job error news.daily permission denied
#5061
Author: Erland Sommarskog
Date: Sun, 18 Feb 1996 00:00
36 lines
2118 bytes
Ayoub RAffoul <araffoul@pipsc.ca> writes:
>What should I do to fix the problem ?

You should probably recompile INN with PATH_RNEWS pointing to
/bin/rnews.

It may be sufficient to change innshellvars, however, don't
forget to update yor config.data nevertheless!

>and what does rnews do ?

rnews is mainly used with UUCP. When UUCP gets a batch and looks
at it and finds out that it contains news, it activates rnews
who in its turn presents it to INN. If the server is throttled,
rnews spools the article to /usr/spool/news/in.coming. These
are articles are later picked up with "rnews -U". If you really
are running UUCP you should probably have "rnews -U" in your
crontab to be run once an hour or so.

However, to avoid these articles sitting there forever, 
news.daily calls "rnews -U" as part of its programme. The
most likely reason for throttling is lack of space, and
space is presumably available once expire is ready.

I don't know whether an article can be spooled for some other 
reason. It is on the wishlist to have inews/nnrpd to spool an 
article when the server is throttled, but I don't think it has 
it been implemented. However, I have noticed when inews
has failed because the server has been too slow in response,
it has sometimes told me that it tried to spool, but lacked
permission. (Sometimes it has just told me that the server
is not responding.)
-- 
Erland Sommarskog, Stockholm, sommar@algonet.se

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