#15 normal user can't mount ftpfs

open
nobody
None
5
2001-10-12
2001-10-12
Steve Grecni
No

The smbfs stuff is suid root to allow normal users to
mount volumes, it would be nice if ftpfs had this
capability.

Maily so I don't have to log in as root to mount junk
every day I guess.

Discussion

  • Logged In: NO

    Not true. Normal users can mount ftpfs. I have installed it
    via automount, it works.

     
  • Steve Grecni
    Steve Grecni
    2001-10-26

    Logged In: YES
    user_id=134032

    I get the error message:

    mount: only root can do that

    when I run the ftpmount program... I even tried making
    ftpmount setuid.... I've never used automount before, maybe
    I should look into using that, just another thing to learn
    though, which I'm not too wild about... :)

     
  • Logged In: NO

    You can do it by putting a line in /etc/fstab, like this one:
    none /your_dir ftpfs
    user,noauto,ip=xxx.xxx.xxx.xxx,user=some,pass=thing,uid=1000,
    gid=1000,root=/users/SL 0 0
    (join all that in one line).

    Then a user can
    $ mount /your_dir
    and user with uid 1000 has read & write access.