Ben Ocean <[EMAIL PROTECTED]> said:

> At 07:23 AM 2/14/2001 -0500, you wrote:
> >On Tue, 13 Feb 2001, Ben Ocean wrote:
> >
> > > At 09:30 PM 2/13/2001 +0000, you wrote:
> > > >Ben Ocean <[EMAIL PROTECTED]> said:
> > > >
> > > > > Hi;
> > > > >
> > > > > 1. I'm trying to enable my clients to ftp into their sites. I 
> > thought it
> > > > > would be as easy as chown-ing the web site at the doc root to the
> > > > > appropriate owner (whose passwd exists in his email account) and 
> > ftp-ing
> > > > > right into the box. Apparently not. What else do I need to do?
> > > >
> > > >Do the owners have homedirs on the system?  If so, you could move 
> > their sites
> > > >to their homedirs, and reconfigure the httpd.conf file to point
> > > >there.  That's
> > > >pretty much what I do...that way, users with multiple sites can access 
> > them
> > > >more easily.
> > >
> > > httpd.conf points to their own directories off the doc root. For 
example,
> > > the doc root is
> > > /apache/vhosts
> > > then the client would be like this:
> > > /apache/vhosts/myClient/
> > > and would be accessed like this:
> > > http://myClient.com/
> >
> >My point is that httpd.conf could also point to their own home
> >directories, or a subdirectory, such as public_html.
> >
> >This way, the user would have full access to their directories and files.
> >
> >This is also how I set my web account users up...it also ensures that when
> >their accounts are over and done, I can delete them and their sites in one
> >fell swoop.
> 
> Please help this novice understand how that's different from what I'm 
> doing. the httpd.conf points, in the above example, to
> /apache/vhosts/myClient
> for the account
> myClient.com
> Isn't this the same thing you're talking about? Also, how do I enable the 
> client to access his site via ftp? I've chown-ed the myClient folder to his 
> ownership, same name as his sendmail name: shouldn't it be accessible via 
> his sendmail password? What am I missing here (obviously something, because 
> this is what I've done)? Thank you for your help!

Nope...subtly different.

See, if a user has a home directory, that directory and nearly everything in 
it is owned by that userid..including the directory.  I've never seen anyone 
have trouble uploading to their homedir, or a subdirectory thereof.

As to ftp access to that directory (other than their homedir), the potential 
problem is that when you log into their account via ftp, they get dropped, 
first, to their home directory.  If their homedir and the myClient are not the 
same, then they'll need to "cd" to that directory.

The problem may be permissions on the /apache/vhosts directory (or the /apache 
dir)...if the directories above their "myClient" directory are not at least 
r-x for their user group or others, then they may not even be able to "cd" to 
their "myClient" directory.

What are the file permissions on "/apache" and "/apache/vhosts"?


-- 
Mike Burger
CompuCom Information Services
http://www.compucomis.net
(215) 946-5573




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to