浏览代码

Use ProtectHome instead of InaccessibleDirectories

See 13805
Craig Andrews 9 年之前
父节点
当前提交
9c933b3635
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/dist/tor.service.in

+ 1 - 1
contrib/dist/tor.service.in

@@ -17,7 +17,7 @@ LimitNOFILE = 32768
 # Hardening
 PrivateTmp = yes
 PrivateDevices = yes
-InaccessibleDirectories = /home
+ProtectHome = yes
 ReadOnlyDirectories = /
 ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
 ReadWriteDirectories = @LOCALSTATEDIR@/log/tor