package: pure-ftpd I got the following bug report + patch in private email from "Franky".
--snip-- I noticed that pure ftpd, does not give correct response codes for overquota. It gves 550 instead of 552. There is a diff which fixes that, - pure-ftpd-1.0.21/src/ftpd.c 2006-02-21 15:14:49.000000000 +0200 +++ pure-ftpd-1.0.21/src/ftpd.c 2008-09-22 18:48:33.000000000 +0300 @@ -3353,7 +3353,7 @@ #ifdef QUOTAS (void) quota_update("a, 1LL, 0LL, &overflow); if (overflow != 0) { - addreply(550, MSG_QUOTA_EXCEEDED, name); + addreply(552, MSG_QUOTA_EXCEEDED, name); goto end; } #endif @@ -3587,7 +3587,7 @@ (void) quota_update("a, overwrite != 0 ? 0LL : 1LL, (long long) (filesize - restartat), &overflow); if (overflow != 0) { - addreply(550, MSG_QUOTA_EXCEEDED, name); + addreply(552, MSG_QUOTA_EXCEEDED, name); /* ftruncate+unlink is overkill, but it reduces possible races */ ftruncate(f, (off_t) 0); (void) close(f); I sent this also to [EMAIL PROTECTED] about a week ago, still no response ;(.It will be great to have it fixed in debian. --snap-- -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]