Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: brent on June 03, 2003, 09:27:39 PM

Title: Best way for user ftp to web
Post by: brent on June 03, 2003, 09:27:39 PM
What is the best way to have a webpage set up so that I can have a user ftp to their folder and then view it on the web.

Ex.
Jane ftps to www.domain.com/jane folder and cannot write to any parent folder.

Joe ftps to www.domain.com/joe folder and cannot write to any parent folder.

Have attempted i-bays, home dirs, and folders on primary.  Cannot get a good solution.  Someone please help with the best resolution to this.

Thanks,
Title: Re: Best way for user ftp to web
Post by: JeffC on June 03, 2003, 09:37:55 PM
Go to contribs.org and look in the Weblinks section.  Do a search for "chroot".  I think you'll find what you need.

Chroot'ing a user will allow you to specify an individual directory for access and prevent the user from moving UP in the directory structure.

Cheers,

-jeff
Title: Re: Best way for user ftp to web
Post by: brent on June 03, 2003, 11:03:19 PM
Sorry for the ignorance here, but I am learning.

How do I get the rpm into the server to install it.  I see the install command that I run from the root prompt, but how does it know where the rpm is?

http://www.pagefault.org/code/e-smith.shtml#proftpd
Title: Disregard precious
Post by: brent on June 03, 2003, 11:37:16 PM
OK I got the RPM installed and I specify my username and folder.  It takes it I refresh my remote access policies.  

Now I get an error that is acting as though the user doesn't have permision for that folder.  This is probably true.  What to do....

Thanks for the help.  I am almost there.

brent wrote:
>
> Sorry for the ignorance here, but I am learning.
>
> How do I get the rpm into the server to install it.  I see
> the install command that I run from the root prompt, but how
> does it know where the rpm is?
>
> http://www.pagefault.org/code/e-smith.shtml#proftpd
Title: Re: Best way for user ftp to web
Post by: sm@rt on July 02, 2003, 03:56:49 PM
Has anyone extended the user-accounts panel to do this, it would be a lot easier?