Tuesday, September 06, 2011

vsFTPd and mount directories


http://radu.cotescu.com/vsftpd-and-symbolic-links/

1. create a directory inside user‘s chroot:
mkdir /tmp/harddisk/ftp_pvt/user/music

2. mount the folder you want user to access using the bind option:
mount --bind /tmp/harddisk/music /tmp/harddisk/ftp_pvt/user/music

No comments: