fuzzyworld

fuzzyworld-tools / commit

Fix file permissions for shared CSS files

f21674ccd649069bf8a0fee6eca0f230f1286048 · Pavel Safronov · 2026-10-27 21:21:02 -0700 · parents ea128c14062d

Fix file permissions for shared CSS files

- Add chmod 644 for _shared.css, _icons.css, and other CSS files
- Ensure Apache can read the shared design system files

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
 server/install.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server/install.sh b/server/install.sh
index 0c6d739..a394c8a 100755
--- a/server/install.sh
+++ b/server/install.sh
@@ -26,13 +26,16 @@ ln -sfn ~/fw/tools/server/fw ~/bin/fw
 site=~/code.fuzzyworld.net
 cp ~/fw/tools/server/site/htaccess "$site/.htaccess"
 cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css ~/fw/tools/server/site/robots.txt "$site/"
+chmod 644 "$site"/_shared.css "$site"/_icons.css "$site"/style.css "$site"/robots.txt
 apps=~/apps.fuzzyworld.net
 cp ~/fw/tools/server/site-apps/htaccess "$apps/.htaccess"
 cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css "$apps/"
+chmod 644 "$apps"/_shared.css "$apps"/_icons.css "$apps"/style.css
 # Main fuzzyworld.net site
 main_site=~/fuzzyworld.net
 cp ~/fw/tools/server/site/main.css "$main_site/"
 cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css "$main_site/"
+chmod 644 "$main_site"/main.css "$main_site"/_shared.css "$main_site"/_icons.css
 ~/bin/fw install-hooks
 ~/bin/fw apps-index
 ~/bin/fw content