From owner-freebsd-questions@FreeBSD.ORG Sat Jan 22 22:15:09 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 D17F916A4CE for ; Sat, 22 Jan 2005 22:15:09 +0000 (GMT) Received: from mail-gw6.metropolis-inter.com (mail-gw7.metropolis-inter.com [200.27.66.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F59B43D41 for ; Sat, 22 Jan 2005 22:15:08 +0000 (GMT) (envelope-from bob@sofsis.cl) X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail-gw6.metropolis-inter.com X-Spam-Level: X-Spam-Status: No, score=-0.1 required=8.0 tests=AWL,TW_RW,TW_WX autolearn=no version=3.0.2 X-TFF-CGPSA-Version: 1.4 X-TFF-CGPSA-Filter: Scanned X-VirusStatus: Scanned Received: from [200.30.193.8] (HELO mi.cl) by mail-gw6.metropolis-inter.com (CommuniGate Pro SMTP 4.2.8) with ESMTP id 5334857 for freebsd-questions@freebsd.org; Sat, 22 Jan 2005 19:15:17 -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 mail2.mi.cl (CommuniGate Pro SMTP 4.2.8) with ESMTP id 9957251 for freebsd-questions@freebsd.org; Sat, 22 Jan 2005 19:15:05 -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 j0MMHM1g026758 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sat, 22 Jan 2005 19:17:28 -0300 (CLST) (envelope-from bob@sofsis.cl) Message-ID: <41F04E8A.4060101@sofsis.cl> Date: Fri, 21 Jan 2005 00:36:26 +0000 From: Phillip Neumann User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------070008080108020907010506" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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:15:09 -0000 This is a multi-part message in MIME format. --------------070008080108020907010506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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, -- _________________________ Phillip Neumann phillip@sofsis.cl www.sofsis.cl --------------070008080108020907010506--