From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 18:06:44 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 06F6E16A4CE; Tue, 25 Jan 2005 18:06:44 +0000 (GMT) Received: from mi.cl (mail-gw5.metropolis-inter.com [200.30.193.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 193BB43D5A; Tue, 25 Jan 2005 18:06:42 +0000 (GMT) (envelope-from bob@sofsis.cl) X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail-gw5.mi.cl X-Spam-Level: X-Spam-Status: No, score=-0.1 required=8.0 tests=AWL autolearn=unavailable version=3.0.2 X-TFF-CGPSA-Version: 1.4 X-TFF-CGPSA-Filter: Scanned Received: from [200.30.193.17] (HELO mi.cl) by mail-gw5.mi.cl (CommuniGate Pro SMTP 4.2.8) with ESMTP id 7711587; Tue, 25 Jan 2005 15:06:06 -0300 X-AttachExt: vcf X-ExtScanner: Niversoft's FindAttachments (free) Received: from [200.74.66.227] (account asdasdasd@mi.cl HELO www.sofsis.cl) by mail1.mi.cl (CommuniGate Pro SMTP 4.2.8) with ESMTP id 50982848; Tue, 25 Jan 2005 15:05:31 -0300 Received: from [10.0.0.100] (pc-200-74-66-227.asturias1.pc.metropolis-inter.com [200.74.66.227]) (authenticated bits=0) by www.sofsis.cl (8.13.1/8.13.1) with ESMTP id j0PI9C3J075608 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 25 Jan 2005 15:09:16 -0300 (CLST) (envelope-from bob@sofsis.cl) Message-ID: <41F408D5.6090002@sofsis.cl> Date: Sun, 23 Jan 2005 20:28:05 +0000 From: Phillip Neumann User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <41F04E8A.4060101@sofsis.cl> <20050125134203.A33566@maren.thelosingend.net> In-Reply-To: <20050125134203.A33566@maren.thelosingend.net> Content-Type: multipart/mixed; boundary="------------050400020304040402080109" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@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: Tue, 25 Jan 2005 18:06:44 -0000 This is a multi-part message in MIME format. --------------050400020304040402080109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Svein Halvor Halvorsen wrote: >* Phillip Neumann [2005-01-21 00:36 -0000] > > >> 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 >> >> > > >I'm guessing that the directory in which the file resides is writable for >the ftp-user. The user cannot read or write to the file itself, but it can >read and write to the directory. That means that the user can delete and >rename any file in that directory, but not copy (because that requires >read-permissions). > > > Your right, The root directory is writeable by the ftp user. But if i do not let the dir writeable, the user will not be able to upload anything... How would i setup things, so users can upload and download, but not delete nor rename? thanks in advance! -- _________________________ Phillip Neumann phillip@sofsis.cl www.sofsis.cl --------------050400020304040402080109--