Hitting a wall with #netatalk here during #marchintosh - guest access always ends up with shares being locked, so I can't open a drop box for you to send me nice things over #globaltalk - anyone successfully done this?

@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 😀

@europlus @alanfleming @SinclairSpeccy always very happy to support GlobalTalk admins in any way I can *^^*

@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.

@europlus @alanfleming @SinclairSpeccy the Dropbox folder has to be it’s own shared volume; netatalk isn’t quite flexible enough to have different user access schemes on different subdirs I’m afraid
@dmark @alanfleming @SinclairSpeccy No worries, thanks for the confirmation!