I'm trying to create a system to access some files between PC's internally, and occasionally externally. I have setup sshd to run, and can login with my account from internal and external locations, and mount a folder over sshfs without issues.
I now want to give a friend some access to the same folder, so I have created them an standard account on the machine and they can login via ssh and access their home folder and additionally login via sshfs and access files in their home folder. However I would also like for them to be able to access my files drive which is located in /media/external. This drive is mounted on boot, (USB connected).
Whenever they try to access it though they get a "Permission Denied" error. The current properties of the drive are,
I tried chgrp on external to change group ownership to a new group I created and added both users to but it didn't seem to work and has stayed being owned by group users. Chmod changes also don't seem to have an effect (e.g. the chmod code stays the same) although they do process and I can hear the drive working.
drwx------ 1 flatline users 12288 Sep 21 06:32 external
I would also like to know how to create a link to the drive in my friends home folder, as simply adding a symlink didn't work as when trying to access it over sshfs it just throws up error about not being able to find location.