Cannot make autofs + FTP work

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
dgiglio
Posts: 9
Joined: Sun Nov 03, 2019 10:32 am

Cannot make autofs + FTP work

Post by dgiglio »

Hi to all,
I'd like to configure autofs to automount a FTP share, but I cannot mount the share:

auto.master

Code: Select all

+dir:/etc/auto.master.d
+auto.master
auto.ftp

Code: Select all

ftpshare -fstype=curl,rw,allow_other,nodev,nonempty,noatime    :ftp\://user\:password\@hostname
auto.master.d/ftp.autofs

Code: Select all

/mnt/ftp_client/    /etc/auto.ftp   --timeout=60
hostname is perfectly working, I can reach it wich a canonical ftp client, but if I try to browse the /mnt/ftp_client/ftpshare directory nothing happens. But if i try to cd into any other directory, say /mnt/ftp_client/foo, I get this error: automount[8662]: key "foo" not found in map source(s). Which suggests me that the automounter is correctly listening to on that directory.

Any clue?
Thanks in advance.
Post Reply