star-ty

Generate content for online publication
git clone git://git.meso-star.fr/star-ty.git
Log | Files | Refs | README | LICENSE

commit b40905312fdc1c0bedbb1f3309af974c3e808732
parent 64d51d76f1aea212cee5df5272d03e339daa727a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sun, 21 Sep 2025 21:31:03 +0200

Update the access rights for installed files.

Enable write access for groups and enable GID for directories. This
allows deployed files to be updated by any member of the parent
directory group.

Simply set the GID bit on the directory served by the web server and set
its group as the one required to publish web content, allowing all users
in that group to update the web content.

Diffstat:
Mtemplates/Makefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/Makefile b/templates/Makefile @@ -41,8 +41,8 @@ clean__: rm -f $(SHTML:.sh=.md) install__: $(HTML) $(SIG) - @rsync -avzrR --delete-after --progress \ - meso.css $(HTML) $$(sty-list subdir) $(RESOURCES) \ + @rsync -avzrR --delete-after --progress --chmod=Dg+s,g+w,Fg+w \ + sty.css $(HTML) $$(sty-list subdir) $(RESOURCES) \ $(PREFIX) ################################################################################