FTP Permission To More Folders

How to give ftp permission to 2 or any more folders? 

We have a ftp server. Red Hat Linux release 9 (Shrike) working on the this server.

Ftp server running very good. But I want to give 2 folder permission an user. Is this possible?

Example,
We have a user that name is aslan. I want to connect this user to www/html/company/adek folder with ftp connection. Then I am changing this user home folder in the /etc/passwd as aslan:x:511:511::www/html/company/adek:/bin/bash.

This user doing succesfuly ftp connection to this folder with a ftp program as Filezilla.

Now, I want to also give a different folder connection this user as www/html/company/meleka.

Is This user can be connect this 2 folder with ftp connection? Is this possible? Can I give 2 or any more folder connection at the one user account? How can I give this permissions?

Solution:

How about setting up a group with permission to the relevant folders, than placing users with correct rights into that group.

OR

How about creating a link from the folder to the users home directory, than when the user is using ftp the folders will so be available, as long as you've chroot to the users home directory.

For more help on chroot:

run

$man chroot

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.