From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] Tor: fix permissions after updating, too Date: Wed, 12 Jun 2019 13:57:00 +0000 Message-ID: <1046d77a-425f-bc68-e74c-9f4e7eb3312b@ipfire.org> In-Reply-To: <699c9e88-49ae-17e2-6610-af83de23b581@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6116206660836288094==" List-Id: --===============6116206660836288094== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, could somebody please merge this patch _before_ closing Core Update 133? Thanks, and best regards, Peter M=C3=BCller > Fixes #12088 >=20 > Signed-off-by: Peter M=C3=BCller > Reported-by: Erik Kapfer > --- > lfs/tor | 2 +- > src/paks/tor/install.sh | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/lfs/tor b/lfs/tor > index 1e8c3889d..d918910d4 100644 > --- a/lfs/tor > +++ b/lfs/tor > @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) > DIR_APP =3D $(DIR_SRC)/$(THISAPP) > TARGET =3D $(DIR_INFO)/$(THISAPP) > PROG =3D tor > -PAK_VER =3D 39 > +PAK_VER =3D 40 > =20 > DEPS =3D "libseccomp" > =20 > diff --git a/src/paks/tor/install.sh b/src/paks/tor/install.sh > index 268bccecd..1659871b6 100644 > --- a/src/paks/tor/install.sh > +++ b/src/paks/tor/install.sh > @@ -32,9 +32,10 @@ if ! getent passwd tor; then > useradd -u 119 -g tor -c "Tor daemon user" -d /var/empty -s /bin/fa= lse tor > fi > =20 > +extract_files > +restore_backup ${NAME} > + > # Adjust some folder permission for new UID/GID > chown -R tor:tor /var/lib/tor /var/ipfire/tor > =20 > -extract_files > -restore_backup ${NAME} > start_service --background ${NAME} >=20 --=20 The road to Hades is easy to travel. -- Bion of Borysthenes --===============6116206660836288094==--