losurdo: sftp: set umask
authorJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Sun, 26 Dec 2021 10:38:02 +0000 (11:38 +0100)
committerJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Sun, 26 Dec 2021 10:38:02 +0000 (11:38 +0100)
hosts/losurdo/sftp.nix

index 1fbb3dc044e32f6496597b1b6461bc05d3207ab0..b1234811c96f0c4450b76214e373c8d3969425d5 100644 (file)
@@ -97,7 +97,7 @@ services.openssh.extraConfig = ''
     AllowAgentForwarding no
     AllowTcpForwarding no
     ChrootDirectory ${sftpRoot}
-    ForceCommand internal-sftp
+    ForceCommand internal-sftp -u 0002
     X11Forwarding no
 '';
 }