Article View: news.software.nntp
Article #89692Re: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied
From: Jeffery Small
Date: Thu, 06 Oct 2022 04:02
Date: Thu, 06 Oct 2022 04:02
21 lines
2700 bytes
2700 bytes
On Wednesday, October 5, 2022 at 8:36:06 PM UTC-7, Russ Allbery wrote: > 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. Just happened to still be at my desk. I did su to news and I am able to create a new file in the /var/www/inn directory and append to the inn_status.html file, so there is no Linux permission problem. If I can do that, why can't the service programs? I still have the xauth problem and, as news, cannot edit the file with vim. I fixed the problem for root by removing the existing .Xauthority file in my home directory and at /. I see root now has a new home directory! I also found an .Xauthority file in the news home directory (/var/spool/news) and eliminated that, but that didn't fix the problem. Still looking.....
Technical Details
Message-ID:
<82780217-dd2d-4931-9d84-4d0b01cb7090n@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-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> <87tu4hvd23.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <82780217-dd2d-4931-9d84-4d0b01cb7090n@googlegroups.com> Subject: Re: innd: SERVER cant open /var/www/inn/inn_status.html: Permission denied Date: Thu, 06 Oct 2022 04:02:37 +0000 From: Jeffery Small <jefferysmall@gmail.com> 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> <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-mail X-Received: by 2002:a05:620a:1914:b0:6ce:5ac8:3b4f with SMTP id bj20-20020a05620a191400b006ce5ac83b4fmr1945657qkb.627.1665028958280; Wed, 05 Oct 2022 21:02:38 -0700 (PDT) X-Received: by 2002:a0d:ed44:0:b0:350:ae6b:7b25 with SMTP id w65-20020a0ded44000000b00350ae6b7b25mr2842906ywe.405.1665028958079; Wed, 05 Oct 2022 21:02:38 -0700 (PDT) Newsgroups: news.software.nntp In-Reply-To: <87tu4hvd23.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: Thu, 06 Oct 2022 04:02:38 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 20