From owner-freebsd-questions@FreeBSD.ORG Sat Jan 22 22:47:08 2005 Return-Path: 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 5538D16A4CE for ; Sat, 22 Jan 2005 22:47:08 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7DE2C43D3F for ; Sat, 22 Jan 2005 22:47:07 +0000 (GMT) (envelope-from Shadow333@gmx.at) Received: (qmail invoked by alias); 22 Jan 2005 22:47:06 -0000 Received: from unknown (HELO there) (62.218.246.180) by mail.gmx.net (mp010) with SMTP; 22 Jan 2005 23:47:06 +0100 X-Authenticated: #1027147 Content-Type: text/plain; charset="iso-8859-1" From: Oliver Leitner Organization: none To: freebsd-questions@freebsd.org Date: Sat, 22 Jan 2005 23:41:58 +0100 X-Mailer: KMail [version 1.3.2] References: <41F04E8A.4060101@sofsis.cl> <200501222224.j0MMOu6N026800@www.sofsis.cl> <41F05424.4000107@sofsis.cl> In-Reply-To: <41F05424.4000107@sofsis.cl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Message-Id: <20050122224707.7DE2C43D3F@mx1.FreeBSD.org> Subject: Re: Ftpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 22:47:08 -0000 sorry for the last answer, i copied the wrong one.. I dont remember fully, since i havent used the native ftpd for the past 6 years... but from what i know, the ftpd is pretty limited, so if you dont find a patch or any kind of fix to include, i dont see another way to do it than switching to a somewhat more sophisticated product. shouldnt be that hard to replace in a production environment, just have it setup on an alternate port, and as soon as it does work to your wishes, you kill the ftpd process and start the proftpd one, should cause a downtime of max 10 secs... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 02:00, you wrote: > Ok. > > But i dont would like to switch ftp deamon. I already have ftpd in > production.... > > > thanks, > > Oliver Leitner wrote: > >you might want to give proftpd a try... > > > >/usr/ports/ftp/proftpd > > > >for more info on proftpd you might wanna look on www.proftpd.org > >they have quite a good documentation on it. > > > >this should cover both of your questions... > > > >Greetings > >Oliver Leitner > >Technical Staff > >http://www.shells.at > > > >On Friday 21 January 2005 01:36, Phillip Neumann wrote: > >>Hello.... > >> > >>I have problems to understand the way ftpd works. > >> > >>My goal is to create a ftp account where the user can download and > >>upload files, and create directories where they could upload the files. > >>But they should not remove nor rename any file or directory. > >> > >>1) > >> > >>man chmod talks about a sticky flag. > >>Ive try that. but: > >> > >>(ls -la on the server) > >>drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp > >> > >> > >>lftp usuarioftp@localhost:~> rm test > >>rm ok, `test' removed > >> > >>i dont want users to be able to delete any files... > >> > >>2) > >> > >>I dont understand permitions... > >> > >>i.e. > >>lftp usuarioftp@localhost:~> ls root-file > >>-rw------- 1 root wheel 0 Jan 22 19:12 root-file > >>lftp usuarioftp@10.0.0.56:~> mv root-file why_can_i_do_this > >>rename successful > >> > >>ps aux | grep ftp shows: > >> > >>usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss 7:14PM 0:00.01 ftpd: > >>127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) > >> > >> > >> > >> > >> > >>why can the ftp user rename the root file? > >>how do i make users be able just to > >> 1.- create directories > >> 2.- upload files > >> 3.- downlaod files > >> > >> > >> > >>thank you, > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse.