Results 1 to 4 of 4

Thread: Pureftpd Access To External Drives

  1. #1
    Join Date
    Jul 2010
    Beans
    30

    Pureftpd Access To External Drives

    I have set up pureftpd on Ubuntu 12.04 and everything works fine on the local drive, but not for my external USB hard disk, /dev/sdb1, /media/GEP.

    When I log in to pureftpd I'd just like to see my external USB drive, and nothing else. When I set up a link, or point pureftpd at the drive, I get told I do not have the correct permissions or "not allowed". Is there a way to do this please?

    Unfortuately it's partition is FAT32. (I need FAT32 for when I pug it in to Windoze)

    The USB hard disk is mounted and owned by my admin login. Nautilus will not let me change the owner or group to ftpuser or ftpgroup.

    TIA

  2. #2
    Join Date
    Jul 2010
    Beans
    30

    Re: Pureftpd Access To External Drives

    Code:
    sudo mkdir /home/ftpusers/loginname/fakedrivename
    sudo mount /dev/sdb1 /home/ftpusers/loginname/fakedrivename
    This all works fine, BUT.........

    How do I make this permanent?

  3. #3
    Join Date
    Sep 2006
    Beans
    5,505
    Distro
    Lubuntu Development Release

    fstab

    You make it permanent by putting an entry for it in /etc/fstab Compare the output from mount with your current fstab and look at the manual page for fstab to get an idea of how the entry should look. Be sure to make a backup copy of fstab before messing with it.

  4. #4
    Join Date
    Jul 2010
    Beans
    30

    Re: Pureftpd Access To External Drives

    Yep, thanks, I finally worked it out...

    Code:
    /dev/sdb1 /media/GEP vfat umask=0000 0 0
    /dev/sdb1 /home/ftpusers/jerry/GEP vfat umask=0000 0 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •