Which FTP server are you using (proftpd, wuftpd etc ?). Go to the config file of that particular deamon and enable chroot option.
On Thu, Dec 13, 2012 at 9:33 AM, Justin Mathew <[email protected]>wrote: > I have created a user with > useradd -s /sbin/nologin -d /var/www/test.com/ justin , > when I access folder through ftp client I was able to view and download > files from all directory.how to restrict a user to a particular directory.? > _______________________________________________ > Indian Libre User Group Cochin Mailing List > http://www.ilug-cochin.org/mailing-list/ > http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org > #[email protected] >
_______________________________________________ Indian Libre User Group Cochin Mailing List http://www.ilug-cochin.org/mailing-list/ http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org #[email protected]
