@alanfleming @SinclairSpeccy I have, but not for a while.
I am considering setting up a separate Dropbox again because for some reason the guest-writeable folder I have in an otherwise R/O folder won’t allow folders to be copied into it.
Perhaps we should hit @dmark (who I’m sure has nothing better to do) to run a short workshop for #GlobalTalk admins 😀
@dmark @alanfleming @SinclairSpeccy thank you, that’s very kind. Are you aware of a resource which describes the best way to set up a dropbox folder where guests can leave files or folders? And where it’s better to have such a folder not inside an otherwise R/O folder?
I’d love to do this “the right way”, and link to it from my new globaltalk.wiki site :)
@europlus @alanfleming @SinclairSpeccy you should never nest AFP shared volumes if that's what you're asking -- define the dropbox volume in a separate directory that's not inside of another shared volume.
now I don't have a good write-up right now but I can take some time this weekend perhaps; if you're able to follow along, there's the entrypoint shellscript for the netatalk container, look at what we do with the AFP_DROPBOX flag:
https://github.com/Netatalk/netatalk/blob/main/distrib/docker/entrypoint_netatalk.sh
key is to give the shared volume root dir appropriate permissions, including the sticky bit; what I do in the container is "chmod 2775" (recursively if needed) on the shared dir, add 'nobody' to a group, then chown the dir so that the group owns it; finally in afp.conf "valid users = nobody" and "rwlist = nobody" on the dropbox volume for good measure.
sorry if this doesn't make sense because it's pretty late at night here :-D
@dmark @alanfleming @SinclairSpeccy sorry, I should have been clearer…
I’m not nesting shares, I’m trying to figure if I can just have a folder shown inside a share that acts as a dropbox folder, or if I need to make it a share of its own.
@alanfleming may I ask you to describe what you’ve tried so far? The key requirement is that the “nobody” user is granted write privileges to the shared volume on the host file system, either directly or through group membership. Alternatively you designate another system user as AFP guest in afp.conf
There is also a Dropbox option in the official Netatalk container image if you’re running a containerized deployment.