1

I need to automount ftp, but not only at boot but always with some timeout. This ftp server is mediaplayer.

Like USB but FTP.

The mountpoint should be available to all users.

Ubuntu version 14.04.

I use:

curlftpfs#root:12345@192.168.1.226 /media/MediaPlayer fuse rw,uid=1000,umask=0777,user,suid,allow_other,exec,auto,utf8  0   1 

but it does not allow me to write anywhere. It shows in nautilus, but no write access. Tried all in mnt and /usr/share /usr/local/share.

I found a writable folder, /media/MediaPlayer/mnt/usbmounts/sda3 but every time I write it says: unable to change owner.

Zanna
  • 72,312
LeonidMew
  • 2,802

1 Answers1

2

You can try to use Autofs. Here is a good documentation/tutorial about it : Autofs - Community Help Wiki

And here you'll find how to use it with FTP : Autofs | FTP and SSH (with FUSE) - ArchWiki

the Timeout setting at the master file level is the timeout before automatic disconnection after a period of inactivity.

Warning : FTP is very light to be used like a regular File System. You can have some bad performance due to the FTP protocol design. If you can do it, prefer ssh/scp with certificate authentication.

Best regards,