diff --git a/ftp-server.nix b/ftp-server.nix index 387f3bb..ed41335 100644 --- a/ftp-server.nix +++ b/ftp-server.nix @@ -5,6 +5,8 @@ # Allow anonymous logins. anonymousUser = true; + allowWriteableChroot = true; + writeEnable = true; # Use 'anonymousUploadEnable' instead of 'anonUploadEnable'. # This allows anonymous users to upload files. anonymousUploadEnable = true; @@ -20,9 +22,6 @@ extraConfig = '' # Log all transfers. xferlog_enable=YES - # Allow the anonymous root to be writable. - allow_writeable_chroot=YES - write_enable=YES ''; };