Mounting storage disk

i want to mount a storage HDD into a specific folder. how to create this folder that files on HDD would be accessible for r/w through samba but specific folder itself would not be able to be deleted or edited. would that be a viable option?
folder would be in /home/“name of folder”/

You can create the folder, take ownership and then mount it, depending on the file system of the partition. /home/$USER sub-folder would be fine, for example. It’s worth to look into these tutorials as they contain a lot of valuable information.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.