I’ve recently done a fresh install of Endeavour with Xfce and added a second user with this command:
sudo useradd -s /bin/fish -m -r username
I have a LUKS encrypted external drive mounted by the main user and would like to grant the second user access to its contents so that they can be accessed through ssh/sftp with read-only permissions.
I have tried simply granting read permissions to others as well as adding the user to the owner group and granting the group read permissions, but neither worked.
I’m missing something. How would I grant this user access to the external drive?
My intention is to use this machine as a local network media server to stream video from. I was using Kodi+UPNP for a while, but decided to look for something else given it’s lack of security.
The reason I created another user was to limit it’s access because I would use it from a Windows machine I don’t fully trust.