瀏覽代碼

installation.md: setcap on SFTPGo

Miraty 2 年之前
父節點
當前提交
23d7e7fc5b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      DOCS/installation.md

+ 2 - 0
DOCS/installation.md

@@ -255,6 +255,8 @@ Create a directory for configuration: `mkdir /etc/sftpgo`
 
 Copy the systemd service: `cp /install/sftpgo.service /etc/systemd/system/sftpgo.service`
 
+Allow listening on privileged ports: `setcap 'cap_net_bind_service=+ep' /usr/local/bin/sftpgo`
+
 #### Configure SFTPGo for ServNest
 
 Generate a key pair using `ssh-keygen -f /etc/sftpgo/ed25519 -t ed25519 -N "" -C ""`