Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 23:13:43 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Peasoup <info@peasoup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ftpd virtual www hosts
Message-ID:  <20090914231343.ae27d3da.freebsd@edvax.de>
In-Reply-To: <57998B4D-84FF-450E-9DC7-70BE8D1681C8@peasoup.com>
References:  <57998B4D-84FF-450E-9DC7-70BE8D1681C8@peasoup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Sep 2009 12:10:35 -0400, Peasoup <info@peasoup.com> wrote:
> 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.

A common way is to create a specific directory within the
user's home directory, such as

	~/public_html/

which is accessed by the web server to obtain the files to
be served. The user has his regular FTP access to his home
directory, so he can put files into ~/public_html/ or just
create a symlink into this directory from somewhere else in
his home directory.

I haven't done much webserver stuff recently, and I'm not
quite sure I did understand your question correctly, so my
suggestion could already be outdated.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090914231343.ae27d3da.freebsd>