]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove warning for chown failures with sftp
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 23 Oct 2021 09:16:07 +0000 (11:16 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 23 Oct 2021 09:16:41 +0000 (11:16 +0200)
modules/private/ftp.nix

index f87ce442c63d9720ef78700be6c04a607f4c4cb6..cae25c1dc5fdc2828efa59701213e15ffcba4f3f 100644 (file)
@@ -225,6 +225,8 @@ in
           RequireValidShell            off
           SFTPAuthorizedUserKeys       file:/var/lib/proftpd/authorized_keys/%u
           SFTPAuthMethods              password publickey
+
+          SFTPOptions                  IgnoreSFTPSetOwners
         </VirtualHost>
         '';
     in lib.mkIf proftpd-enabled {