FTP virtual folder

I have a site and in the root of my site there are two folders, a user area and an data area.
I want to give FTP acess to my user area for some people, but they need access to a folder nested inside the data area.

Can I create a folder inside my user area that maps to the folder inside the data area, without giving them access to the root?

I am not worried about security as I trust the people, but for convenience  I want them only to have acces to the parts they need.

The system is based on a LAMP stack.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maciej SsysadminCommented:
You can try creating soft link in user area pointing to data area, and use Limit directive (in proftpd) to grant required permissions.

You can also mount your data directory into user/something directory (mount -o bind).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I think if the user doesn't have permissions to that directory tree it won't work

e.g. if you have /root (only root access) and create /root/data (world access) and also do a ln -s /root/data /home/data ,  the ordinary user cannot get to /root/data and also won't get to the symbolic link /home/data

The only thing I could think of is do it the other way around where you create the accessible data somewhere else and then link it to your root area ... in the case above

mkdir /home/data(world access)

ln -s /home/data /root/data

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.