How to share folders on different drives via FTP

Discussion in 'Server Operation' started by sean_zhang, May 6, 2008.

  1. sean_zhang

    sean_zhang New Member

    Service: vsftpd

    I want to share multiple folders on different drives/partitions via FTP. But I don't want to copy all of these files to /var/ftp/pub/.
    Is there a kind of "link" that could do this job?

    3Q!
     
  2. chipsafts

    chipsafts New Member

    Which ftp server are you using and which OS ?
     
  3. sean_zhang

    sean_zhang New Member

    OS: RHEL
    Server: vsFTP
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You could use NFS for this.
     
  5. chipsafts

    chipsafts New Member

    take a look toward the bottom of /etc/vsftpd/vsftpd.conf

    You can setup user(s) account to direct logins to a directory, placing soft-links in that directory to other directories might work out.
     
  6. sean_zhang

    sean_zhang New Member

    That's exactly the problem I met.
    The soft link doesn't work.
    When I try to cd to that soft link, error occurs:
    "access failed: 550 failed to change directory"

    The only way I found out is to mount the /dev/sdb1 to /var/ftp/pub/share. But I think there should be a better way.
     
  7. chipsafts

    chipsafts New Member

    are the permissions to the soft link and the target directory setup so that a vsFTP user could access them?
     

Share This Page