Allow rsyncd to access /home read-only
authorBastian Blank <waldi@debian.org>
Fri, 3 Feb 2017 17:24:42 +0000 (18:24 +0100)
committerBastian Blank <waldi@debian.org>
Fri, 3 Feb 2017 17:24:42 +0000 (18:24 +0100)
modules/rsync/templates/systemd-rsyncd.service.erb

index 7a5b828..2a21d65 100644 (file)
@@ -8,5 +8,5 @@ StandardError=journal
 CapabilityBoundingSet=CAP_SYS_CHROOT CAP_SETUID CAP_SETGID
 PrivateDevices=true
 PrivateNetwork=true
-ProtectHome=true
+ProtectHome=read-only
 ProtectSystem=full