From owner-freebsd-bugs Sat Sep 22 19:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E2FBF37B41D for ; Sat, 22 Sep 2001 19:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8N2e1t08335; Sat, 22 Sep 2001 19:40:01 -0700 (PDT) (envelope-from gnats) Date: Sat, 22 Sep 2001 19:40:01 -0700 (PDT) Message-Id: <200109230240.f8N2e1t08335@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Heffner Subject: Re: misc/30690: Bad advice in ftpd man page Reply-To: Mike Heffner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/30690; it has been noted by GNATS. From: Mike Heffner To: Alan Batie Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/30690: Bad advice in ftpd man page Date: Sat, 22 Sep 2001 22:31:50 -0400 (EDT) On 20-Sep-2001 Alan Batie wrote: | | | Change to read (or something similar): | | ~ftp/pub Make this directory mode 755 and owned by ``ftp''. | Place the files you want to share in here with | mode 644. If you want local users to be able to | publish files here, create subdirectories for them, | owned by their account and group and mode 755. | Be sure to warn them not to make anything writeable | by "world", or your disk will end up getting filled | with "warez" (illegal copies of software). How about the following? (stolen from the lukemftpd manpage) ~ftp/pub This directory and the subdirectories beneath it should be owned by the users and groups responsible for placing files in them, and be writable only by them (mode 755 or 775). They should not be owned or writable by ftp or its group. Mike -- Mike Heffner Blacksburg, VA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message