🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Geoff Brozny Thu, 11 Dec 2003 06:07
trouble win INN news.daily
#67361
Author: Geoff Brozny
Date: Thu, 11 Dec 2003 06:07
19 lines
1724 bytes
I have cron setup to run /usr/lib/news/bin/news.daily expireover lowmark as
user news daily, however when it runs as news, I get the following error:

touch: creating `/var/lib/news/tmp/doex13906': Permission denied
chmod: failed to get attributes of `/var/lib/news/tmp/doex13906': Permission
denied
/usr/lib/news/bin/news.daily: line 225: /var/lib/news/tmp/doex13906:
Permission denied


If I go and run it as root, it gets past this, but it changes the
premissions of the history files, causing INN to die.. Anyone have any
ideas?

thanks,

geoff

Re: trouble win INN news.daily
#67365
Author: Pat - News-Service.com
Date: Thu, 11 Dec 2003 08:58
22 lines
1981 bytes
On Thu, 11 Dec 2003, Geoff Brozny wrote:

> I have cron setup to run /usr/lib/news/bin/news.daily expireover lowmark as
> user news daily, however when it runs as news, I get the following error:
>
> touch: creating `/var/lib/news/tmp/doex13906': Permission denied
> chmod: failed to get attributes of `/var/lib/news/tmp/doex13906': Permission
> denied
> /usr/lib/news/bin/news.daily: line 225: /var/lib/news/tmp/doex13906:
> Permission denied
>
>
> If I go and run it as root, it gets past this, but it changes the
> premissions of the history files, causing INN to die.. Anyone have any
> ideas?

Whatever you do, don't run news.daily as root.
Does the news user have write permissions in /var/lib/news/tmp ?

Pat
News-Service.com
Re: trouble win INN news.daily
#67371
Author: Geoff Brozny
Date: Thu, 11 Dec 2003 20:01
12 lines
1587 bytes
"Pat - News-Service.com" <patrick+usenet@news-service.com> wrote in message
> Whatever you do, don't run news.daily as root.
> Does the news user have write permissions in /var/lib/news/tmp ?


yes, that directry is owned by user news, group news

geoff


Re: trouble win INN news.daily
#67374
Author: Geoff Brozny
Date: Thu, 11 Dec 2003 22:21
16 lines
1686 bytes
"Pat - News-Service.com" <patrick+usenet@news-service.com> wrote in message
news:Pine.LNX.4.44.0312110957180.16354-100000@unit11.support.nl...
>
> Whatever you do, don't run news.daily as root.
> Does the news user have write permissions in /var/lib/news/tmp ?
>


Actually, I just figured it out, was something stupid /var/lib/news/tmp was
not executable for some reason, once I changed that, it worked fine..


geoff

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