So I have machine 1 that has vsftpd installed and machine 2 that needs to mount distant ftp folder.
However machine 2 also needs to access symlink, which is what fails.
No chroot as only lan access is allowed, so no worries about security issue from internet.
On machine 1:
- ftp directory is: /home/ftpu/
- symlink made: ln -s /mnt/share_hdd /home/ftpu/share_hdd/
On machine 2 (same network):
If I connect to the ftp using a filezilla or whatever, this works flawlessly, I can access to share_hdd folder and see its content, no worries.
However, I used curlftpfs to:
- mount machine1.local/share_hdd /mnt
Now when I browse /mnt I can see share_hdd folder. And if I cd inside I sort of enter a loop of folder containing another share_hdd folder containing another share_hdd folder etc etc.
In the end I'm in an endless tunnel such as /mnt/share_hdd/share_hdd/share_hdd/ etc.
What did I do wrong ?
(Oh and in case you're wondering why the hassle and not go through samba share its because machine 2 is debian chroot from a spare android phone running linux deploy on which the kernel doesn't support cifs and I do not have the skills to build a custom kernel with cifs support)