From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 12:52:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00D6516A41F for ; Wed, 31 Aug 2005 12:52:33 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 819B443D49 for ; Wed, 31 Aug 2005 12:52:32 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 6699 invoked from network); 31 Aug 2005 22:52:31 +1000 Received: from 203-217-79-78.dyn.iinet.net.au (HELO ?192.168.13.3?) (203.217.79.78) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 31 Aug 2005 22:52:31 +1000 Message-ID: <4315A808.9000308@meijome.net> Date: Wed, 31 Aug 2005 22:52:24 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Wideroe Andersen References: <6.1.2.0.2.20050831141445.0b5e9370@malibu.wideroe.net> In-Reply-To: <6.1.2.0.2.20050831141445.0b5e9370@malibu.wideroe.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FTP Permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 12:52:33 -0000 Andreas Wideroe Andersen wrote: > Hi, hi there, > I'm running FreeBSD 5.4 STABLE and the latest Proftpd. I have a little > problem I need help with. > > I want about 10 users to have access to the same > directory/subdirectories on the FTP server and all must be able to > upload, delete and retrive (full access) to the files in these directories. > > I want all users to have different usernames/passwords so I can log > them, but all should have full access to the ftp directories. > > How would I set this up? not sure about proftp,sorry. But i'd guess point their home directories to the one place (or add symlinks to this one place...or however you do with proftpd). Make a group, make yourself a member of the group. then set the sticky bit on the folder + other subfolders (man chmod). you may have to modify the umask (as seen by ProFTPd of course...maybe a proftpd setting, guessing here) to make sure the files are mode 660 >I've tried making all members of the same > group, but I can't overwrite/delete files other uploaded. are you a member of the group? what are the rights of the files? what are the rights of the directory where the files are? cheers, Beto