From owner-cvs-all Thu Aug 8 10:53:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08BF137B400; Thu, 8 Aug 2002 10:53:53 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C446E43E4A; Thu, 8 Aug 2002 10:53:52 -0700 (PDT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78HrqJU078615; Thu, 8 Aug 2002 10:53:52 -0700 (PDT) (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78Hrq0X078614; Thu, 8 Aug 2002 10:53:52 -0700 (PDT) Message-Id: <200208081753.g78Hrq0X078614@freefall.freebsd.org> From: Yar Tikhiy Date: Thu, 8 Aug 2002 10:53:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.8 ftpd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG yar 2002/08/08 10:53:52 PDT Modified files: libexec/ftpd ftpd.8 ftpd.c Log: Rework storing files thoroughly. This includes: o Remove the race between stat(2) & fopen(3) when creating a unique file. o Improve bound checking when generating a unique name from a given pathname. o Ignore REST marker on APPE. No RFC specifies this case, but the idea of resuming APPE's implies this. o By default, deny upload resumes and appends by anonymous users. Previously these commands were translated to STOU silently, which led to broken files on server without any notification to the user. o Add an option, -m, to allow anonymous users to modify existing files (e.g., to resume uploads) if filesystem permissions permit. Portions obrainded from: OpenBSD MFC after: 3 weeks Revision Changes Path 1.53 +6 -1 src/libexec/ftpd/ftpd.8 1.121 +78 -23 src/libexec/ftpd/ftpd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message