Create FTP account for /var/www/html

itwanabe

Verified User
Joined
Apr 2, 2005
Messages
37
Is this possible? I need some custom work on squirrelmail and obviously, I don't want to give root access to access the said folder. Any idea how to perform this if it is indeed possible? Thanks
 
It's possible :) Just create a new proFTPd user (e.g. webapps) with /var/www or /var/www/html as its docroot.
 
I can add users via ssh but how do i create the ftp user for the user? Any how-to? Thanks
 
A user added with the adduser command will automatically have access to ftp.

Whether or not the user will have access to the /var/www/html directory will depend on the rights and ownership in that directory path.

Jeff
 
access to the /var/www/html

A user added with the adduser command will automatically have access to ftp.

Whether or not the user will have access to the /var/www/html directory will depend on the rights and ownership in that directory path.

Jeff

This is an old response but I'm attempting to do the same thing and haven't figured it out.

I'd like to give a user say user123 access to a folder in /var/www/html
i.e. /var/www/html/myapplication

I tried adding the user to the webapps group and making a symlink from their home directory to /var/www/html/myapplication but that didn't work.

It's for building a custom application that everyone will have access to. i.e. yourdomain.com/myapplication

I know the application folder and files have to be owned by webapps so suphp doesn't choke but I can't seem to figure out the way to give SFTP access to that folder to another user.
Other than sFTPing in as root which I'd like to avoid...

Thanks,

-James
 
Back
Top