commit 77b19dd857b9f8cffdd0c5b71eb1d27fd5b658f8
parent 0fda376201ae512289ed5314e2be08d73540dcf0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 29 Sep 2025 21:41:20 +0200
Update access rights for installed files
Add the group macro that allows you to define the group to which the
installed files will belong. This will allow each member of the group to
update the deployed content.
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -42,6 +42,7 @@ clean__:
install__: $(HTML) $(SIG)
@rsync -avzrR --delete-after --progress \
+ --chmod=Dg+s,g+w,Fg+w --chown=:$(GROUP) --omit-dir-times \
meso.css $(HTML) $$(sty-list subdir) $(RESOURCES) \
$(PREFIX)
diff --git a/config.mk b/config.mk
@@ -5,5 +5,8 @@ PREFIX=OVH:www/projects
# Tool used to convert Markdown to HTML
MD2HTML=md2html
+# Group that owns the deployed files
+GROUP = users
+
# Additional resources to install
RESOURCES=fonts