From owner-freebsd-questions@FreeBSD.ORG Wed Apr 1 08:11:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B874106566B for ; Wed, 1 Apr 2009 08:11:14 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id C61B68FC25 for ; Wed, 1 Apr 2009 08:11:13 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so1943255ywh.13 for ; Wed, 01 Apr 2009 01:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from:cc :content-type:mime-version:references:content-transfer-encoding :message-id:in-reply-to:user-agent; bh=VxDHcR15mmNnTQzSJZT90ggPOOaN0NvNxE/ch+oWjLI=; b=RrDfeXAopYeuuAYIcBIsfYtHmiW3x5Tb38VkDiOFBzV7LPd91LrkDU9db0AGaRTpIV Rg8iYR+uRxV78C7xRtcEmJEc15uas2mA1DfI6Z3u5eX93YlJ657Bub6PkpvqqVW/7xNb a3Ml4jyXq+rhem8+8cud/hAUeqEs0lHRkGIOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:cc:content-type:mime-version:references :content-transfer-encoding:message-id:in-reply-to:user-agent; b=bD+rD1em31Nx6wkCjTJh71WJbqpzaNXqHlVJT/NVIM/C0E95xCAqJr2qE6FiMj6N/k k6h3R8iu68VZICKDEpzh/b2xJezyIL447JpCNqWJYveGVvBMcpEwPal1j9GT1gRqfyY9 rBqBOcYHnrZCJcANxvqpJsVFCorSVLxFkFk9s= Received: by 10.100.45.5 with SMTP id s5mr5529739ans.159.1238573463703; Wed, 01 Apr 2009 01:11:03 -0700 (PDT) Received: from da1-desktop-x64 ([79.113.14.60]) by mx.google.com with ESMTPS id 30sm3106043yxk.42.2009.04.01.01.11.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Apr 2009 01:11:03 -0700 (PDT) Date: Wed, 01 Apr 2009 11:08:59 +0300 To: "Joshua Gimer" From: "Vasadi I. Claudiu Florin" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.64 (Win32) Cc: "freebsd-questions@freebsd.org" Subject: Re: ftp with .... ? 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, 01 Apr 2009 08:11:14 -0000 On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer wrote: > Are you sure that the suid bit will not provide the functionality that > you require? It provides it, but only half of it. Did "chmod g+s /mnt" and "chmod u+s /mnt" but when I create a file with "ftpadmin" through a ftp the file has ftpadmin:wheel (Parent directory belongs to root:wheel). Maybe it cannot change to root ? That would be strainge, seing how samba can do it (then again samba has a module for this) > I would make sure that the proper user owns the directory They are > and then set its suid bit (chmod u+s /mnt/) Already did that.