public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] Tor: fix permissions after updating, too
Date: Wed, 12 Jun 2019 13:57:00 +0000	[thread overview]
Message-ID: <1046d77a-425f-bc68-e74c-9f4e7eb3312b@ipfire.org> (raw)
In-Reply-To: <699c9e88-49ae-17e2-6610-af83de23b581@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

Hello,

could somebody please merge this patch _before_ closing Core Update 133?

Thanks, and best regards,
Peter Müller


> Fixes #12088
> 
> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
> Reported-by: Erik Kapfer <ummeegge(a)ipfire.org>
> ---
>  lfs/tor                 | 2 +-
>  src/paks/tor/install.sh | 5 +++--
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/lfs/tor b/lfs/tor
> index 1e8c3889d..d918910d4 100644
> --- a/lfs/tor
> +++ b/lfs/tor
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = tor
> -PAK_VER    = 39
> +PAK_VER    = 40
>  
>  DEPS       = "libseccomp"
>  
> 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/false tor
>  fi
>  
> +extract_files
> +restore_backup ${NAME}
> +
>  # Adjust some folder permission for new UID/GID
>  chown -R tor:tor /var/lib/tor /var/ipfire/tor
>  
> -extract_files
> -restore_backup ${NAME}
>  start_service --background ${NAME}
> 

-- 
The road to Hades is easy to travel.
	-- Bion of Borysthenes

  reply	other threads:[~2019-06-12 13:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 11:36 [PATCH] tor: Fix tor permissions if presant via update.sh Erik Kapfer
2019-06-10 14:31 ` Michael Tremer
2019-06-10 18:12   ` Peter Müller
2019-06-10 18:36     ` Paul Simmons
2019-06-10 18:51       ` Michael Tremer
2019-06-10 19:02         ` [PATCH] Tor: fix permissions after updating, too Peter Müller
2019-06-12 13:57           ` Peter Müller [this message]
2019-06-12 14:12             ` Michael Tremer
2019-06-10 19:10     ` [PATCH] tor: Fix tor permissions if presant via update.sh ummeegge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1046d77a-425f-bc68-e74c-9f4e7eb3312b@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox