From owner-freebsd-questions Mon Jun 22 16:01:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15180 for freebsd-questions-outgoing; Mon, 22 Jun 1998 16:01:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.camalott.com (root@[208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15145 for ; Mon, 22 Jun 1998 16:01:33 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-152.camalott.com [208.229.74.152] (may be forged)) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id SAA20327; Mon, 22 Jun 1998 18:00:15 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id SAA00867; Mon, 22 Jun 1998 18:00:40 -0500 (CDT) (envelope-from joelh) Date: Mon, 22 Jun 1998 18:00:40 -0500 (CDT) Message-Id: <199806222300.SAA00867@detlev.UUCP> To: data@dreamhaven.net CC: questions@FreeBSD.ORG In-reply-to: message from Bryce Newall on Mon, 22 Jun 1998 10:46:44 -0700 (PDT) Subject: Re: FTP drop box From: Joel Ray Holveck Reply-to: joelh@gnu.org References: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In the shell accounts I create for my users, I've set up FTP "drop > boxes", [snip] > The problem I'm running into is that when someone uploads a file, the file > is owned by "ftp", and not by the user whose account it's going into, so > the file doesn't count towards the user's quota. If you are running this box as a fileserver only (ie, no interactive accounts), you may want to look at adding the SUIDDIR option to your kernel config. (Be sure to look over the comments in LINT first!) The only other thing I can think of to do is to modify FTP to do what you want. This actually isn't as hard as you might think. > Or does anyone have a suggestion as to a better method of > implementing these drop boxes than what I'm currently doing? Are you sure that you want outsiders to be able to anonymously fill individual users' quotas? Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message