From owner-freebsd-stable Sat Jan 5 14: 6:59 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.dada.it (mail4.dada.it [195.110.96.56]) by hub.freebsd.org (Postfix) with SMTP id E9E4F37B402 for ; Sat, 5 Jan 2002 14:06:50 -0800 (PST) Received: (qmail 1144 invoked from network); 5 Jan 2002 22:06:04 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 5 Jan 2002 22:06:04 -0000 Received: (from riccardo@localhost) by torrini.org (8.11.6/8.11.6) id g05M68n56074; Sat, 5 Jan 2002 23:06:08 +0100 (CET) (envelope-from riccardo) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sat, 05 Jan 2002 23:06:08 +0100 (CET) From: Riccardo Torrini To: Mike Heffner Subject: RE: ftpd STOR and STOU work the same ? Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 05-Jan-2002 (19:47:53/GMT) Mike Heffner wrote: >> I noticed a strange behaviour, sending a file twice create >> version even if sunique is off, on all versions I can test. > This is intentional... This is black magic. I hate it. I hope this would be (soon) documented _OR_ make configurable. ...or at least tell me where I can un-patch myself ;) > If you are running an anonymous file drop, you don't want > guest users to be able to overwrite the files of others... I'm over 18 (really 36 :-). I would like to decide myself. I lost two weeks trying to figure why it doesn't work. > If you need to upload, and overwrite a file, you might try > setting up a restricted user for this purpose, that only > has write access to a single directory. Why? Assume I have a very restricted /incoming dir (111) and one or two levels or restricted dir under that (.../foo/bar/) also with mode=111, and assume that a file named write-me is placed in that dir owned by anonimous, mode +w. Nothing can imagine files and dir if is unable to list them, so only authorized users or automatic robots can read/write under that deep path. Are you following me? Assume also that I am in my home, with my local lan isolated from internet or at work (same as above because ftp is _only_ an internal service). Assume also that I need 2^n (a very large number) different users to write on my ftp a sort of report, all the times with the same name. I can't delete/put because dir is not writable. Do you think this is a 'too-crazy' request? > Mike Thanks for your time, Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message