🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89680

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

#89680
From: Jeffery Small
Date: Tue, 04 Oct 2022 16:39
33 lines
3089 bytes
On Tuesday, October 4, 2022 at 8:27:47 AM UTC-7, Russ Allbery wrote:
> Jeffery Small  writes: 
> 
> > 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
> Check the permissions on the parent directories, maybe? I'm wondering if 
> something changed the permissions in /var/www (/x/u/www) such that the 
> news user can't traverse it. 

Yes that was my first thought.  I checked all the paths and everything is
kosher.  However I just sued into news and walked to the directory without
problem.  But when I tried to manually edit the inn_status.html file I get the message:

"Authorization requires, but no authorization protocol specified"

Even if I su to root, I get the same message! 

I have a ~/.Xauthority file and (forever) I have had /.Xauthority as a symlink to this
file.  It looks like there have been some serious changes to the auth program that I'm
unaware of and this may be an underlying problem here, but I really don't understand
what is going on and how this affects daemon and cron programs, or why only this
particular directory is affected.  When I try to edit it myself, I don't get this message,
but (of course) can only open it RO.
Technical Details
Message-ID: <b6710de6-919f-4331-a663-b18eaed4346an@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
References: <1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com> <874jwjsj66.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <b6710de6-919f-4331-a663-b18eaed4346an@googlegroups.com>
Subject: Re: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied
Date: Tue, 04 Oct 2022 16:39:10 +0000
From: Jeffery Small <jefferysmall@gmail.com>
References: <1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com> <874jwjsj66.fsf@hope.eyrie.org>
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:10bc:b0:6ce:4169:7bcc with SMTP id h28-20020a05620a10bc00b006ce41697bccmr17761378qkk.732.1664901551335; Tue, 04 Oct 2022 09:39:11 -0700 (PDT)
X-Received: by 2002:a81:8701:0:b0:341:9e24:5992 with SMTP id x1-20020a818701000000b003419e245992mr25419888ywf.110.1664901551090; Tue, 04 Oct 2022 09:39:11 -0700 (PDT)
Newsgroups: news.software.nntp
In-Reply-To: <874jwjsj66.fsf@hope.eyrie.org>
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 16:39:11 +0000
Content-Type: text/plain; charset="UTF-8"