Link to home
Start Free TrialLog in
Avatar of p_gurule
p_gurule

asked on

How Do I Limit Directory Browsing?

Hi.

I have wu-ftpd setup on my box.  I have created a handful of FTP users.  For better or worse, each user is a member of the same "FTP" group.  When each respective user logs in, they chroot to their home ftp directory.  I noticed that one user can change into another user's directory and other "sensitive" areas of the filesystem.  How do I restrict each user from having this ability.  I want them to be restricted to their respective home FTP directories.  
ASKER CERTIFIED SOLUTION
Avatar of bernardh
bernardh

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 EatEmAndSmile
EatEmAndSmile

Just take away permissions of reading and execution for the "others" group in your critical directories. Like:

 cd /home/ftp

 chmod o-rx bin
 chmod o-rx lib