ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
923a60
From 421fa6e97928bca5a55414ad38bd9659d0e99a15 Mon Sep 17 00:00:00 2001
923a60
From: Christian Hesse <mail@eworm.de>
923a60
Date: Tue, 30 Jun 2015 19:12:20 +0200
923a60
Subject: [PATCH] man: ProtectHome= protects /root as well
923a60
923a60
(cherry picked from commit 5833143708733a3fc9e6935922bf11d7d27cb768)
923a60
923a60
Cherry-picked from: 5833143
923a60
Resolves: #1222517
923a60
---
923a60
 man/systemd.exec.xml | 5 +++--
923a60
 1 file changed, 3 insertions(+), 2 deletions(-)
923a60
923a60
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
923a60
index 56b53e6015..5b93aa71ef 100644
923a60
--- a/man/systemd.exec.xml
923a60
+++ b/man/systemd.exec.xml
923a60
@@ -858,9 +858,10 @@
923a60
 
923a60
         <listitem><para>Takes a boolean argument or
923a60
         <literal>read-only</literal>. If true, the directories
923a60
-        <filename>/home</filename> and <filename>/run/user</filename>
923a60
+        <filename>/home</filename>, <filename>/root</filename> and
923a60
+        <filename>/run/user</filename>
923a60
         are made inaccessible and empty for processes invoked by this
923a60
-        unit. If set to <literal>read-only</literal>, the two
923a60
+        unit. If set to <literal>read-only</literal>, the three
923a60
         directories are made read-only instead. It is recommended to
923a60
         enable this setting for all long-running services (in
923a60
         particular network-facing ones), to ensure they cannot get