From 8e7e0aade7cd53527dff50ff0cc66db20349944c Mon Sep 17 00:00:00 2001 From: Elizabeth Cray Date: Fri, 19 Aug 2022 03:15:20 +0000 Subject: [PATCH] Fixed Hackers.Town links and added permission bugfix --- tools/bugs.gmi | 31 +++++++++++++++++++++++++++++++ tools/help.gmi | 7 ++++--- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 tools/bugs.gmi diff --git a/tools/bugs.gmi b/tools/bugs.gmi new file mode 100644 index 0000000..027955c --- /dev/null +++ b/tools/bugs.gmi @@ -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 diff --git a/tools/help.gmi b/tools/help.gmi index d507900..b0234b6 100644 --- a/tools/help.gmi +++ b/tools/help.gmi @@ -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