tilde-oauth/tools/bugs.gmi

32 lines
1.2 KiB
Plaintext
Raw Normal View History

# Server Issues & Fixes
## Contents
* Public Gemini Permissions
## Posts
### Public Gemini Permissions
> 21 July 2022
I've discovered a mis-configuration on the TTY/gemini community server. I don't have time to sit down and fix it for all accounts currently.
Some files in your public_gemini folders have the wrong permissions. These default permissions are controlled by the "umask" command in your ~/.bashrc and you're only affected if you're using the default shell environment.
If you can't access some of the files in your capsule through a gemini browser, run:
chmod -R 755 ~/public_gemini
This will fix all permissions in your public folder, allowing the server (and anyone with an ssh account) to read their contents.
To permanently fix the issue with default permissions on your account, edit the .bashrc file in your home directory and change the umask line to:
umask 022
This will make any file you create readable by anyone else on the server. If you'd like to keep your files more private, don't change this line, and instead make sure to chmod 755 any new files or directories you create in your public_gemini folder.
I've fixed the issue for any accounts provisioned after today.
=> https://hackers.town/@maddiefuzz