Find the answer to your Linux question:
Results 1 to 3 of 3
I am working with an FTP server. I have the users CHROOT'd into their respective directories. The issue that I am running into is that I rebooted that system the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Location
    Indiana/USA
    Posts
    63

    mount -o or mount --bind


    I am working with an FTP server. I have the users CHROOT'd into their respective directories. The issue that I am running into is that I rebooted that system the other night to move it and the mount --bind options did not stay. I had to re-do them in order for the folders that I want them into to show up.

    Is there a way to allow for these to be re-added when a machine is rebooted?

    Thanks in advance

    -Grim

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Location
    Portugal
    Posts
    47
    You should add lines similar to the one below in /etc/fstab

    Code:
    /sourcedir /ftpdir none bind 0 0
    Change /sourcedir and /ftpdir to the directories you want to mount.

  3. #3
    Just Joined!
    Join Date
    Jan 2004
    Location
    Indiana/USA
    Posts
    63
    Thanks I appreciate the response. I will try it when I get home tonight. Unfortunatley work has the port for SSH blocked.

    -Grim

Posting Permissions

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