From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 16:24:13 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 F2B1D106566C for ; Mon, 14 Sep 2009 16:24:13 +0000 (UTC) (envelope-from info@peasoup.com) Received: from www01.reliabledata.com (www01.reliabledata.com [204.14.84.34]) by mx1.freebsd.org (Postfix) with ESMTP id BB5348FC27 for ; Mon, 14 Sep 2009 16:24:13 +0000 (UTC) Received: from [192.168.1.104] (c-75-68-62-48.hsd1.nh.comcast.net [75.68.62.48]) by www01.reliabledata.com (8.14.3/8.14.3) with ESMTP id n8EGAWL8025408 for ; Mon, 14 Sep 2009 12:10:32 -0400 (EDT) From: Peasoup Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Date: Mon, 14 Sep 2009 12:10:35 -0400 Message-Id: <57998B4D-84FF-450E-9DC7-70BE8D1681C8@peasoup.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Subject: ftpd virtual www hosts 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: Mon, 14 Sep 2009 16:24:14 -0000 Hi Im new to the list, hope I have the right one, but if not, please let me know. And forgive me if I don't speak clear unix. I am trying to set up a webserver, with virtual hosting accounts. Naturally, I want to be able to give users the ability to upload files to their web directories. Setting up basic ftp is not an issue for me. I can set up a user at / usr/home/, and can upload via ftp just fine. Of course that directory is owned by user:user. I also get ftpchroot just fine. Next I go to vipw to change the user's home dir to something in the www area, which is owned by www:www. This is where my problems start with being denied. I am assuming that uploading to the unprivileged user www is getting in my way. I have tried to play with groups, ownership and permissions, etc, but I am not getting very far. I thought I'd see a boatload of information on Google about this. Any help is much appreciated, something that will give a user enough rights to upload his site, while at the same time keeping the webserver running as unprivileged as possible. I am new to freebsd. I was using wu on solaris prior to this... will the freebsd ftpd do what I want? Thank you Matt