From: Ismaƫl Bouya Date: Sat, 23 Oct 2021 09:16:07 +0000 (+0200) Subject: Remove warning for chown failures with sftp X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a;p=perso%2FImmae%2FConfig%2FNix.git Remove warning for chown failures with sftp --- 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 {