-
-
Notifications
You must be signed in to change notification settings - Fork 5
Support multi user environments better #4
Comments
Another multi (UNIX) user environment issue - if a server is being run as a separate user, it cannot write to directories of other users (it does not have permission to create the data directory or files inside it). Consequently, users are unable to use gemlikes on such systems. Is there anything that can be done about this? The server I tried to set it up on was tilde.team, which runs gemserv. |
@contrapunctus-1 The first thing to note that a single instance of gemlikes is not ready for multi-user setups and should NOT be used there. In fact, it's currently possible for other users to disable comments on a user's page, just by creating a page with the same name. So if you're trying to use it in a multi-user environment please stop and let me know. However, it should be okay to use multiple instances of the gemlikes binaries, each with their own config file and data dirs, for each user. If your gemlikes binaries are serving just you, then that's okay. And yes, the server would need to be able to read the data directory, and any files you want people to be able to comment on. One way to do this would be to make the data directory world-readable, although that's clearly not ideal. Maybe talk to your admin and see if there's some group you can add the directory and files too, so that the server and you can read/write it. Hope this helps! |
Hey, tilde.team admin here~ Our gemini server has no group (literally; Namely, all tilde.team users are in the |
Thanks, that worked. I'm grateful for the interaction with readers it provides. The only issue is that the author of the gemlog cannot modify the likes and comments (e.g. to redact spam, or a test comment I made 😓) EDIT because the author does not have permission to access the files created by the server. e.g. the comments file is I hope these multi-user environment issues can be ironed out in future iterations of gemlikes. |
You should be able to, by modifying the data files. But you have to be careful to do it correctly. To be honest this entire system is somewhat poorly made and patched-together. I'm glad it's working for you, but I wouldn't recommend people use it. If I ever make a new comment system I'll let you know. |
Mainly, allow for multiple files with the same name but different paths.
The text was updated successfully, but these errors were encountered: