Menu

can not mount FTP with fstab

Help
mepi0011
2006-12-30
2013-05-02
  • mepi0011

    mepi0011 - 2006-12-30

    Help me please,

    I try to mount an NAS (IcyBox NAS900).

    I can mount the Server by hand:

    curlftpfs ftp://192.168.128.120 /media/Eigene_Musik

    but when I make an entry in the fstab nothing will happen.

    Entry in the fstab:

    curlftpfs#192.168.128.120 /media/test fuse user 0 0

    What do I wrong?

    Thangs!!! :-)

    PS: I'm useing Suse 10.2

     
    • Yeshua Watson

      Yeshua Watson - 2007-01-09

      Are you receiving any error messages when you run the fstab (mount -a). If you don't then that usually means that it worked fine. Also, try changing the mount point to something different and see if that works (/home/test). Just throwing a few ideas out there.

       
      • mepi0011

        mepi0011 - 2007-01-10

        Thanks yeshuawatso,

        I try "mount -a. All is working fine, I get no error message! :-)

        I see that the FTP server is now mounted to /media/test but only root has access to /media/test.
        Bevor I mount the FTP-Server to /media/test the normal user (mepi0011) is the owner of the folder. After mounting, root is the owner of /media/test.

        How can I change it (in the fstab)?

         
        • Fredrik

          Fredrik - 2007-01-27

          add uid=<userid> in the options section.

           
    • Zuhel

      Zuhel - 2007-02-11

      Sorry for my English.
      I use FreeBSD 6.0. Of console #curlftpfs ftp.kalininec.net /mnt/ftp mounted properly.
      But fstab, I have a problem:
      curlftpfs#ftp.kalininec.net /mnt/ftp fusefs rw 0 0

      Fuse installing of ports therefore I am in /usr/local/sbin/mount_fusefs

      #mount -a
      Error: mount_fusefs: curlftpfs#ftp.kalininec.net on /mnt/ftp: No such file or directory

      Crontab and startup script in the rc.d at the same does not work, not mounting. :(

      Help me plz!

       
    • Fredrik

      Fredrik - 2007-04-04

      sorry for hijacking this thread. But im wondering if there's anyway to use fstab and still hide user/pass from ps. Is there a way to use user/pass from a netrc file in fstab?

       
      • Robson Braga Araujo

        You have to put a .netrc file in the root's home dir, usually /root.

         
    • Tehnik

      Tehnik - 2007-09-22

      I have the same problem with mounting via fstab
      There are the following strings in /etc/fstab:
      culftpfs#10.0.16.5      /mnt/ftp/public         fuse    defaults,codepage=cp1251        0 0
      culftpfs#10.0.16.6      /mnt/ftp/movies         fuse    defaults,codepage=cp1251        0 0
      ...
      and so on

      When my system is loaded I get this message:
      mount.fuse# Can not find FUSE mount binary for FS culftpfs

      The same message I see if I try to execute mount -a.

      But if I manually execute
      curlftpfs 10.0.16.6 /mnt/ftp/movies/ -o ro,codepage=cp1251,
      I see that everything is OK:
      mount|grep movies
      curlftpfs on /mnt/ftp/movies type fuse (ro,nosuid,nodev,user=tehnik)

      What file cannot be found to mount fuse partitions? What shall I do?

      My distro is Fedora 7.

       
      • Robson Braga Araujo

        It seems that mount.fuse can't find the curlftpfs binary in the path it expects. Maybe your curlftpfs is in /usr/local/bin but mount.fuse only searches /usr/bin and /bin.

         
    • Tehnik

      Tehnik - 2007-09-23

      I've already found out what was wrong. There was a typo in fstab. I wrote culftpfs# instead of cuRlftpfs#.

       

Log in to post a comment.