From owner-freebsd-questions@FreeBSD.ORG Wed Apr 1 22:18:40 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 E448D1065689 for ; Wed, 1 Apr 2009 22:18:40 +0000 (UTC) (envelope-from jgimer@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8AD8FC16 for ; Wed, 1 Apr 2009 22:18:40 +0000 (UTC) (envelope-from jgimer@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so246757qwb.7 for ; Wed, 01 Apr 2009 15:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uzQUxb6pJ+Ov+LZ9JKp2Dw8mfRDYujCRU3TO1Q/ai6M=; b=vUVz+1ycTQzGn6qJzRoxypJMShDv7QTfFuzqBhKKnQeNLPP8rnlc8GFuvIv09BIlKF e/QkRkNgdNnEkcmAuzoY59N+VuupYf4ZwonPuYKkqMnBvkGn5ycZmL3s1m+5Nr3TjfRb I89QSa0fz02GGm3v858Yoc4zZBPqReWdf89U8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=okhuKObK9WfN4I/jZ2vHzMqx6o2gYbAH5IYsmSwehIHyW1H/vpcwDF6PWSqfLM3dbb Jo7muF5Kt7gotIZMVd3GGnfID/oOe+esJobKIvPTy3ccaUfrDXNkjEyZqtMn3RmM1Z4Y YptOQgEOyasX7wcFg7lqfAbJAq7RI+WinWc4g= MIME-Version: 1.0 Received: by 10.229.94.148 with SMTP id z20mr3274340qcm.106.1238624319944; Wed, 01 Apr 2009 15:18:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Apr 2009 16:18:39 -0600 Message-ID: From: Joshua Gimer To: "Vasadi I. Claudiu Florin" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 22:18:41 -0000 What user is your ftp daemon running as? On Wed, Apr 1, 2009 at 2:08 AM, Vasadi I. Claudiu Florin wrote: > 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. > > -- Thx Joshua Gimer