Skip to content

Commit

Permalink
Turn on systemd ProtectSystem
Browse files Browse the repository at this point in the history
This will protect various files from being edited by webdavd.

Additional protections, e.g. ProtectHome, cause a problem with webdavd's
worker attempts to start a new session as the remote user.
  • Loading branch information
xyzzy42 committed Jun 10, 2021
1 parent 2289ac9 commit 361bbce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package-with/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=network.target
Type=simple
ExecStart=/usr/sbin/webdavd /etc/webdavd
LogsDirectory=webdavd
ProtectSystem=full

[Install]
WantedBy=multi-user.target

0 comments on commit 361bbce

Please sign in to comment.