Results 1 to 2 of 2

Thread: create a permanent mount for stfpuser

  1. #1
    Join Date
    Jan 2014

    create a permanent mount for stfpuser


    I have a 12.04 LTS running as a webserver and need to be able to access a folder within the file structure via sftp for users to download various files. Currently I use "sudo mount --bind /mnt/data/www/ /home/sftpusername/web" to create this link so that I am not giving the sftpuser direct access to the whole web site, just the area they need.

    However this does not propagate through a reboot so I need to re-enter the above command every time the system is rebooted. I know there must be a way to have this set so that even after reboot the mount is still present, I just don't know how. Is there a safe/standard method of achieving this?


  2. #2
    Join Date
    Jul 2013

    Re: create a permanent mount for stfpuser

    /etc/fstab is the normal location for systemwide automatic mounts.


Posting Permissions

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