aboutsummaryrefslogtreecommitdiff
path: root/modules/private/ftp.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-23 11:16:07 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-23 11:16:41 +0200
commit87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a (patch)
treecbcc5433febb91c78cf564fbabeee9a4d5859c08 /modules/private/ftp.nix
parent305922df8aa5aae8d930ea3e23fbddb3b16b215a (diff)
downloadNix-87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a.tar.gz
Nix-87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a.tar.zst
Nix-87e1ff0fdc5b00b8a10a867651e28f06bd86ff1a.zip
Remove warning for chown failures with sftp
Diffstat (limited to 'modules/private/ftp.nix')
-rw-r--r--modules/private/ftp.nix2
1 files changed, 2 insertions, 0 deletions
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
225 RequireValidShell off 225 RequireValidShell off
226 SFTPAuthorizedUserKeys file:/var/lib/proftpd/authorized_keys/%u 226 SFTPAuthorizedUserKeys file:/var/lib/proftpd/authorized_keys/%u
227 SFTPAuthMethods password publickey 227 SFTPAuthMethods password publickey
228
229 SFTPOptions IgnoreSFTPSetOwners
228 </VirtualHost> 230 </VirtualHost>
229 ''; 231 '';
230 in lib.mkIf proftpd-enabled { 232 in lib.mkIf proftpd-enabled {