httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy G. Wesemann" <>
Subject Re: FTP permissions to Apache Vhost
Date Tue, 07 May 2002 14:49:32 GMT

First off, I think your question might be better suited for
proftp-user(AT) However, with that said I`d
like to get a better idea of what you`re working with. In your
proftpd.conf, do you have something similar to "DefaultRoot ~",
if so what type of environment is this server running (i.e. only
webserving, or are your user homedirs with mail and what not
being mounted on this machine?). Are you running in a yp/NIS+
environment and cannot modify the homedir`s? Are you NFS mounting
homedirs on another device with a seperate authentication means
on this machine so that the users can have different homedirs on
this particular machine and now the users have different UID`s in
different places? If you can get the customer into their docroot
via FTP, then why doesn`t a user own their own files/dirs in
/usr/local/www/./vhost1/? Is the filesystem not allowing the user
to write there, or is it a function of proftpd that I am unaware
of? Are you setting up the FP permissions of that other than the
user themself? (beware of chown-happy FP)... Are the docroots
recursively owned by www???

Timothy G. Wesemann
Voicenet Systems Administration

----- Original Message -----
From: "Jack L. Stone" <>
To: <>
Sent: Tuesday, May 07, 2002 10:35 AM
Subject: FTP permissions to Apache Vhost

| I'm running FBSD 4.5 and migrating several virtual host
| from a BDSi server and have what is probably a very basic
question about
| how to provide access to the virtual host's site via FTP (and
| FrontPage as well). I did not handle such details at the old
server, but do
| now and want to set up the vhosts properly so the access is
similar as before.
| I do not place the vhost in user accounts. The document paths
| structured as follows:
| /usr/local/www/maindomain
| /usr/local/www/vhost1
| /usr/local/www/vhost2
| /usr/local/www/vhost3 ....and so forth.
| Apache is set up for the main domain a a couple of the vhosts
already, but
| they belong to me and I don't have any access problems, being
the super
| user. Also, FrontPage2000 sets up and publishes fine. The user
and group
| for Apache and FP is set to www:www.
| Now, however, I'm getting ready to move domains that belong to
| without access except through FTP and Frontpage, but most don't
want to use
| Frontpage and prefer FTP to upload content that has been
produced on their
| local machines. Fairly common method I imagine.
| I have fiddled with a test domain that I set up as a vhost to
see how it
| could be accessed via FTP. BTW, my FTP is ProFTPD and is set so
that the
| user only sees the contents that belong to them and so the
"root" they
| login to has to be a user account. In order to FTP login at the
root of the
| vhost, I have to set up a "user" in the name of the vhost, BUT,
cannot FTP
| upload/download to it because of permissions apparently.
| The obvious question I have is with the above setup, how do I
give the
| vhost user access to the root of his "root" that would appear
like this and
| he would see all of the content/directories contained below:
| /usr/local/www/vhost1/
| ...and point of entry would be /usr/local/www/vhost1/
| Better yet, to be identical to the old server setup, the path
would be:
| /usr/local/www/vhost/data ...and the CGI directory is
accessible as:
| /usr/local/www/vhost/cgi-bin
| The user's FTP point of entry must still be:
| /usr/local/www/vhost/
| ...and be writable for that user.
| Again, Apache is set to www:www (and so is FP2000)
| Please help me with proper solutions to how to give the "Vuser"
access via
| FTP....??? Thanks in advance for any help.
| .... our website:
| Best regards,
| Jack L. Stone
| Server Admin
| ---------------------------------------------------------------
| To unsubscribe, e-mail:
| For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message