Symblic links in FTP

Actually there is no way to use symbolic links in FTP. A workaround is to mount the folder with the bind option. For example, i have a jailed FTP account and i want to allow it to access the /tmp/eureka folder.

1. Create the mount point folder in the user home directory.

mkdir /home/<username>/eureka

 

2. Mount the /tmp/eureka folder with the bind option.

mount --bind /tmp/eureka /home/<username>/eureka

 

Done =)

Reference: vsFTPd and Symbolic Links

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.