diff options
author | des <des@FreeBSD.org> | 2001-02-19 21:51:26 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-02-19 21:51:26 +0000 |
commit | 46ef236ff652b8099c0c7bc7e68975630f7c86be (patch) | |
tree | 830400d958063951bbebbfdf07deaa4b01bfd4cb /libexec | |
parent | 0a03d960912c52bb4562808e1465b768496e2864 (diff) | |
download | FreeBSD-src-46ef236ff652b8099c0c7bc7e68975630f7c86be.zip FreeBSD-src-46ef236ff652b8099c0c7bc7e68975630f7c86be.tar.gz |
Change the read-only reply to "550 Permission denied.".
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/ftpcmd.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index d6a002b..14ac122 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -998,7 +998,7 @@ check_login_ro : /* empty */ { if (readonly) { - reply(202, "Command ignored. Server is in readonly mode."); + reply(550, "Permission denied."); $$ = 0; } else |