🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89678

innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied

#89678
From: Jeffery Small
Date: Tue, 04 Oct 2022 15:15
67 lines
3696 bytes
I recently upgraded from Xubuntu 20.04 to 22.04.1.  The upgrade was very rocky, but no changes were made (by me!) to the inn2 installation.  Inn is the standard repository package version 2.6.4-2build4.  The news system is working generally.  Ever since the upgrade, I'm getting a steady stream of the error message (see subject line) but I cannot determine why.  The file exists where it always has.  (Note that /var/www is a symlink and the actual path is /x/u/www/inn/inn_status.html)

% ls -l /var/www/inn/inn_status.html
-rw-rw-r-- 1 news news 1057 Sep  2 15:25 /var/www/inn/inn_status.html

All programs in /usr/lib/news/bin are owned by root.  The /etc/cron.d/inn2 file remains unchanged.

% cat /etc/cron.d/inn2 
###############################################################################
# minute hours  dom    month  dow            usercommand
# 0-59   0-23   0-31   1-12   0-6 (0:Sun) 
###############################################################################
SHELL=/bin/sh
PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin

# Expire old news and overview entries nightly, generate reports.

15 6	* * * 	news	test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm

# Refresh the cached IP addresses every day.

2 3	* * *	news	[ -x /usr/sbin/ctlinnd ] && ctlinnd -t 300 -s reload incoming.conf "flush cache"

# Every hour, run an rnews -U. This is not only for UUCP sites, but
# also to process queud up articles put there by nnrpd in case
# innd wasn't accepting any articles.

50 *	* * *	news	[ -x /usr/bin/rnews ] && rnews -U

# Enable this entry to send posted news back to your upstream provider.
# Also edit /etc/news/nntpsend.ctl !
# Not if you use innfeed, of course.

10 *	* * *	news	nntpsend


# Enable this if you want to send news by uucp to your provider.
# Also edit /etc/news/send-uucp.cf !

#22 *	* * * 	news	send-uucp.pl

# NINPATHS ###################################################################
# To enable ninpaths please add this line to /etc/news/newsfeeds:
#   inpaths!:*:Tc,WP:/usr/lib/news/bin/ginpaths2
#
#6 6	* * *	news	ctlinnd -s -t 60 flush inpaths!
#8 6	1 * *	news	sendinpaths
# NINPATHS ###################################################################

% pgrep -fa -- inn 
784328 /usr/lib/news/bin/innd -f
784347 /bin/sh /usr/lib/news/bin/innwatch -i 60

Any suggestions greatly appreciated.
Technical Details
Message-ID: <1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com>
Subject: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied
Date: Tue, 04 Oct 2022 15:15:57 +0000
From: Jeffery Small <jefferysmall@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
X-Received: by 2002:a05:620a:27d2:b0:6cf:b644:f644 with SMTP id i18-20020a05620a27d200b006cfb644f644mr17379057qkp.35.1664896557967; Tue, 04 Oct 2022 08:15:57 -0700 (PDT)
X-Received: by 2002:a25:b0a2:0:b0:6bd:1276:b2f1 with SMTP id f34-20020a25b0a2000000b006bd1276b2f1mr17556066ybj.260.1664896557632; Tue, 04 Oct 2022 08:15:57 -0700 (PDT)
Newsgroups: news.software.nntp
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9100:5ca0:e23f:49ff:fee8:1a31; posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
Nntp-Posting-Host: 2601:600:9100:5ca0:e23f:49ff:fee8:1a31
User-Agent: G2/1.0
Mime-Version: 1.0
Injection-Date: Tue, 04 Oct 2022 15:15:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 66