One of the users on our Ubuntu server has given us an external hard drive as a means of increasing the amount of storage space for their account.
They'd like us to auto-mount this external hard drive in their own /home/user folder to a location such at /home/user/usbDrive
Additionally, they want to be sure that no other users on the system can access this external hard drive.
Typically, on systems where there are not multiple users, I've been mounting external hard drives to locations like /media/usbDrive and I've never really taken the time to see if such mounts are available for other users (being that there weren't any other users).
I know how to add entries to the fstab table so that mounts are mounted automatically, but what I'm really asking for guidance on is these concerns:
Where's the best place to mount an external hard drive that will be used only by one user in a multi-user environment?
If I mount this external hard drive somewhere in their own /home/user folder, will they automatically be the only user (besides root) who can access it? Or, are additional permission-modifications needed in order to ensure this.
I'm worried that if I mount to /home/user/usbDrive, that if the mount ever fails, large amounts of data will instead fill up the internal hard drive (at that mount location) instead of going to the external hard drive (as intended). Is this a valid concern?