Article View: news.software.nntp
Article #89745Re: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied
From: Russ Allbery
Date: Thu, 06 Oct 2022 03:36
Date: Thu, 06 Oct 2022 03:36
20 lines
1967 bytes
1967 bytes
Jeffery Small <jefferysmall@gmail.com> writes:
> Just a quick follow-up. I tried your suggestions but unfortunately, it
> didn't work. Below I'll list the primary systemd inn2.service file as
> well as my addition. I did add multiple directory paths and reloaded
> the daemon and restarted inn2. Still I get a stream of errors.
> ProtectSystem is set to full.
Ah, that's not it, then. ProtectSystem=full doesn't do anything with /var
or other file systems. It just does /usr, /boot, /efi, and /etc.
I'm still pretty confused! Definitely worth trying to write to the file
after su to the news user, just to rule out all the normal UNIX permission
things.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87tu4hvd23.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-mailReferences:
<1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com> <874jwjsj66.fsf@hope.eyrie.org> <b6710de6-919f-4331-a663-b18eaed4346an@googlegroups.com> <87r0znqzj9.fsf@hope.eyrie.org> <f129b02c-cd9c-409d-b88f-8053d62f14e2n@googlegroups.com> <87edvnqqvz.fsf@hope.eyrie.org> <aecf2f19-92ee-4c4f-9334-763ad2375d0bn@googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <87tu4hvd23.fsf@hope.eyrie.org> Subject: Re: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied Date: Wed, 05 Oct 2022 20:36:04 -0700 From: Russ Allbery <eagle@eyrie.org> References: <1fa7c51d-79c0-4411-bb01-1a01bc6ea891n@googlegroups.com> <874jwjsj66.fsf@hope.eyrie.org> <b6710de6-919f-4331-a663-b18eaed4346an@googlegroups.com> <87r0znqzj9.fsf@hope.eyrie.org> <f129b02c-cd9c-409d-b88f-8053d62f14e2n@googlegroups.com> <87edvnqqvz.fsf@hope.eyrie.org> <aecf2f19-92ee-4c4f-9334-763ad2375d0bn@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 Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="10280"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:KzkohoBIqPSO4yFLZL0Gql/ElS8= Lines: 19