From 87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 23 Oct 2021 11:16:07 +0200 Subject: Remove warning for chown failures with sftp --- modules/private/ftp.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/private/ftp.nix b/modules/private/ftp.nix index f87ce44..cae25c1 100644 --- a/modules/private/ftp.nix +++ b/modules/private/ftp.nix @@ -225,6 +225,8 @@ in RequireValidShell off SFTPAuthorizedUserKeys file:/var/lib/proftpd/authorized_keys/%u SFTPAuthMethods password publickey + + SFTPOptions IgnoreSFTPSetOwners ''; in lib.mkIf proftpd-enabled { -- cgit v1.2.3