autofs : how to build auto.misc file

Help
2002-10-01
2002-10-04
  • Yann RICHET

    Yann RICHET - 2002-10-01

    Hello,

    I read the syntax for FTPFS, on the "usage" pages, but I did'nt find how to write my /etc/auto.misc file..

    May be you can give an example?

    Thanks,

    Yann

     
    • Florin Malita

      Florin Malita - 2002-10-02

      You already have the auto.ftpfs and auto.sshfs helpers, so you only need to hack /etc/auto.master.

      Here's mine:

      # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
      # Sample auto.master file
      # Format of this file:
      # mountpoint map options
      # For details of the format look at autofs(8).
      # /misc /etc/auto.misc  --timeout=60
      /mnt/net/ssh    /usr/local/bin/auto.sshfs         --timeout=60
      /mnt/net/ftp    /usr/local/bin/auto.ftpfs         --timeout=60

      then you can do stuff like 'cd /mnt/net/ftp/ftp.kernel.org' or 'cd /mnt/net/ssh/mali@ssh.sourceforge.net'.

      this should work with 0.6.3.

      now some bad news: looks like the current CVS version doesn't play nice with autofs. still looking into it...

       
    • Yann RICHET

      Yann RICHET - 2002-10-04

      it works nice, but it seems the owner of the directory /mnt/net/ftp/ftp.kernel.org/ is the root...
      It's a problem if i want to modify the files in this directory without root permissions...

      have a solution?

      Thanks.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks