Actually i am using Cpanel and WHM for making FTP users. IN Cpanel there is option to make FTP users but only inside home directory.
But if there is any way by which i can chnage users ftp directory to something esle using Shell , it will be very thank ful to you.
I am not creating users using shell so i don;t know its commands
Can anyone guide me how to chnage ftp home directory from shell
I found this from other site
http://www.ducea.com/2006/07/27/allo...ectory-chroot/
Quote:
mkdir /home/ftp_user/www_dev
mount --bind /var/www/dev/ /home/ftp_user/www_dev
|
After this the ftp user will be able to see the needed files in his home directory and use them in his ftp client as if they were local files.
Just one questions if i use above solution , i want to ask for that if i am making backups , will that folders is also included , while doing backups , othwise i will be in a endless loop