#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2009
    Posts
    12
    Rep Power
    0

    Can't access mounted drive through FTP


    I have a Linux box with some mounted drives.
    I'm trying to make it so when I FTP into that machine I can access the mounted drive. I can FTP into the machine fine, but the mounted drives don't even show up, although I can navigate them just fine from the command-line.
    I added local_root in vsftpd.conf to the mounted drive but it just fails and resolves to the users home directory.
    Anyone know what I need to do to make the mounted drives accessible via ftp?
    Thanks!
  2. #2
  3. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,087
    Rep Power
    5082
    Originally Posted by 99_miles
    I have a Linux box with some mounted drives.
    I'm trying to make it so when I FTP into that machine I can access the mounted drive. I can FTP into the machine fine, but the mounted drives don't even show up, although I can navigate them just fine from the command-line.
    I added local_root in vsftpd.conf to the mounted drive but it just fails and resolves to the users home directory.
    Anyone know what I need to do to make the mounted drives accessible via ftp?
    Thanks!
    You need to change the path for the user to include the mounted drive.

    The path to the users login is located at:
    /etc/passwd-

    By default, it will say something like:
    username:x:uid:gid:Name:/home/path/of/user:/bin/sh

    Change /home/path/of/user to /path/which/includes/mounted/drive

IMN logo majestic logo threadwatch logo seochat tools logo