Fixed Hackers.Town links and added permission bugfix

This commit is contained in:
Elizabeth Cray 2022-08-19 03:15:20 +00:00
parent 8ae54b2a2b
commit 8e7e0aade7
2 changed files with 35 additions and 3 deletions

31
tools/bugs.gmi Normal file
View File

@ -0,0 +1,31 @@
# 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

View File

@ -46,12 +46,13 @@ These Links are https, and should load in w3m (ToDo)
## Credits
=> https://hackers.towm/@maddiefuzz System Managed by @maddiefuzz
=> https://hackers.towm/@liz Automation and Documentation by @liz
=> https://hackers.towm/@thegibson Domain and Mastodon Instance by @thegibson
=> https://hackers.town/@maddiefuzz System Managed by @maddiefuzz
=> https://hackers.town/@liz Automation and Documentation by @liz
=> https://hackers.town/@thegibson Domain and Mastodon Instance by @thegibson
## Useful Links
=> gemini://gemini.hackers.town/docs/bugs.gmi System Issues & Fixes
=> gemini://gemini.hackers.town/ Gemini Home
=> gemini://gemini.hackers.town/docs/help.gmi This help doc
=> gemini://geminispace.info Gemini Search Engine