Link to home
Start Free TrialLog in
Avatar of daryn
daryn

asked on

vsftp problem with user escaping directory

Hi there.

I've setup a user on a slackware box with VS FTP running on it.

This user has his regular home directory but in that home directory is a symbolic link that takes a user to /var/www/html/test/testdir
(I know it's not terribly secure but i cant avoid it for now)

The problem being that this user can "cd .." and get to /var/www/html/test . "cd .." again and he gets to /var/www/html.

This is somewhat worrying.

How can I prevent a user escaping his root directory structure and going above it?

ta

Daryn
ASKER CERTIFIED SOLUTION
Avatar of surya_prabhakar
surya_prabhakar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of daryn
daryn

ASKER

thankin y'kindly, sir.