On 2024-06-05 00:06, users-requ...@lists.fedoraproject.org wrote:
From: Jeffrey Walton
On Tue, Jun 4, 2024 at 7:24 PM Sam Varshavchik wrote:
So I was tearing my hair out trying to figure out why attempts to push via
DAV to a git repo were failing.
However this apparently did not work.
Patrick O'Callaghan wrote:
> On Wed, 2024-06-05 at 06:41 -0400, Sam Varshavchik wrote:
>> Then, when you get to the actual description:
>>
>> ProtectHome=
>> Takes a boolean argument or the special values
>> "read-only" or "tmpfs". If true, the directories
>> /home/, /root, and /run
On Wed, 2024-06-05 at 06:41 -0400, Sam Varshavchik wrote:
> Good luck finding where this is documented in the
> man pages, for overrides. There were barrels of laughs in
> systemd.exec(5).
> First, there are several instances of "ProtectHome=yes" sprinkled in
> random
> places. Then, when you
Felix Miata writes:
> I tried using
> systemctl edit httpd
> And putting this in there:
> [Service]
> ProtectHome=
> However this apparently did not work.
Please show us the override file in /etc/systemd* that resulted from your
edits.
Using systemctl edit for for over a year had me baff
Sam Varshavchik composed on 2024-06-04 19:24 (UTC-0400):
> So I was tearing my hair out trying to figure out why attempts to push via
> DAV to a git repo were failing.
> Eventually I succeeded in stracing the httpd process sto capture the
> request. It was getting an EROFS when it tried to wr
On Tue, Jun 4, 2024 at 7:24 PM Sam Varshavchik wrote:
>
> So I was tearing my hair out trying to figure out why attempts to push via
> DAV to a git repo were failing.
>
> Eventually I succeeded in stracing the httpd process sto capture the
> request. It was getting an EROFS when it tried to write
On Tue, Jun 4, 2024 at 6:24 PM Sam Varshavchik
wrote:
> So I was tearing my hair out trying to figure out why attempts to push
> via
> DAV to a git repo were failing.
>
> Eventually I succeeded in stracing the httpd process sto capture the
> request. It was getting an EROFS when it tried to write
The easy solution is chattr +i and that will block all
further changes to the file forever.
It is kind of a last resort.
On Tue, Jun 4, 2024 at 6:24 PM Sam Varshavchik wrote:
>
> So I was tearing my hair out trying to figure out why attempts to push via
> DAV to a git repo were failing.
>
> Ev
So I was tearing my hair out trying to figure out why attempts to push via
DAV to a git repo were failing.
Eventually I succeeded in stracing the httpd process sto capture the
request. It was getting an EROFS when it tried to write to the git repo.
Amusing.
To make a long story short, the