From efdeb80407e5194d54fa4372efa6dc77ad31a63a Mon Sep 17 00:00:00 2001 From: Roland Rosenfeld Date: Thu, 23 May 2002 16:34:32 +0000 Subject: [PATCH] * Change owner of /etc/privoxy/{*.action|trust} to privoxy in postinst, to allow modification of these files web interface (Closes: SF-552144). --- debian/changelog | 6 +++--- debian/postinst | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 88df3ce0..9c4a8a78 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,10 +6,10 @@ privoxy (2.9.15-beta-0) unstable; urgency=low * Force usage of w3m -dump to convert HTML to ASCII (build depend on it). * Exclude CVS files from dh_installdocs (when compiling from CVS). * Add user.action and standard.action to /etc/privoxy. - * Change permission of /etc/privoxy recursively to privoxy:adm, to allow - modification of the config via web interface (Closes: SF-552144) + * Change owner of /etc/privoxy/{*.action|trust} to privoxy in postinst, + to allow modification of these files web interface (Closes: SF-552144). - -- Roland Rosenfeld Wed, 22 May 2002 21:51:53 +0200 + -- Roland Rosenfeld Thu, 23 May 2002 07:06:01 +0200 privoxy (2.9.14-beta-1) unstable; urgency=low diff --git a/debian/postinst b/debian/postinst index ee710cfb..8f1028de 100644 --- a/debian/postinst +++ b/debian/postinst @@ -30,8 +30,9 @@ case "$1" in adduser --system --home /etc/privoxy --ingroup nogroup \ --disabled-password privoxy >/dev/null fi - chown -R privoxy.adm /var/log/privoxy /etc/privoxy - chmod 750 /var/log/privoxy /etc/privoxy + chown -R privoxy.adm /var/log/privoxy + chmod 750 /var/log/privoxy + chown privoxy /etc/privoxy/*.action /etc/privoxy/trust ;; abort-upgrade|abort-remove|abort-deconfigure) -- 2.39.2