[Privoxy-commits] [privoxy] 08/10: GNUMakefile.in: Set GROUP_T when installing configuration files as root
User Git
git at git.privoxy.org
Wed Jun 26 15:39:25 CEST 2024
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 1029669713889663657c11e483ca4d333e21a18f
Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
AuthorDate: Sun Mar 31 19:23:47 2024 +0200
GNUMakefile.in: Set GROUP_T when installing configuration files as root
... and there is no privoxy user available.
Prevents the install target from failing with:
Installing templates to /tmp/etc/templates
id: privoxy: no such user
******************************************************************
WARNING! WARNING! installing config files as root!
It is strongly recommended to run privoxy as a non-root user,
and to install the config files as that user and/or group!
Please read INSTALL, and create a privoxy user and group!
*******************************************************************
Installing configuration files to /tmp/etc
Installing config as config.new
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
[-B suffix] [-l linkflags] [-N dbdir]
file1 file2
install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
[-B suffix] [-l linkflags] [-N dbdir]
file1 ... fileN directory
install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
directory ...
gmake: *** [GNUmakefile:865: install] Error 1
---
GNUmakefile.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/GNUmakefile.in b/GNUmakefile.in
index cf79aae1..db1bab59 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -927,6 +927,7 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T
$(ECHO) " and to install the config files as that user and/or group!" ;\
$(ECHO) " Please read INSTALL, and create a privoxy user and group!" ;\
$(ECHO) "*******************************************************************" ;\
+ GROUP_T=$(GROUP) ;\
fi ;\
else \
GROUP_T=$(GROUP) ;\
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list