Comment on Anyone familiar with SFTPGo?
lckdscl@whiskers.bim.boats 1 year ago
To set up the folder, which I called “shared”, I set the home directory for it to /srv/sftpgo/data/shared
. For reference, my user home directory is /srv/sftpgo/data/user1
. Then to allow user1 to access it, I mount it as a virtual folder. Is this what you did?
YurkshireLad@lemmy.ca 1 year ago
Not quite. I’m trying to setup a group to let all users access the same folder. I created a folder called Family (I think it set its path to /Family. I’m away from the pc so I’ll grab it later). Then I created a group called Family and mounted the folder in it. But I wasn’t sure what paths to use for the group.
lckdscl@whiskers.bim.boats 1 year ago
Okay I think I might know what you mean? I just tried doing that and got it to work. We can compare what we did. Here’s mine.
I created a shared folder called “Shared”
Image
then I create a group called “All” and mount the “Shared” folder to /shared
Image
I went to a user and add them to group “All”
Image
Examining that user’s files
Image
I can navigate into that shared folder and access everything (I have stuff in there already).
YurkshireLad@lemmy.ca 1 year ago
I created another group and hit the same problem. I had to restart the docker container before it worked. Odd.
deadbeef@lemmy.nz 1 year ago
Often on Linux group membership changes only take effect on login. So you could try logging out of your session and logging back in after your group changes to test that theory out.
YurkshireLad@lemmy.ca 1 year ago
Ah thanks!! I hadn’t set the group home dir properly. I guess I don’t understand what that’s supposed to represent. I assumed it would include the group name somehow, but I set it to. /srv/sftpgo/data/%username% and it works.