all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Hamzeh Nasajpour <h.nasajpour@pantherx.org>, 52011@debbugs.gnu.org
Subject: bug#52011: pkexec: PATH environment variable
Date: Fri, 09 Sep 2022 18:10:06 +0200	[thread overview]
Message-ID: <0b97c774c903f45cb9ca3efbb12d55459d7d45c8.camel@gmail.com> (raw)
In-Reply-To: <538d2dd4-7777-49ad-b0e5-8ceb12d03c60@www.fastmail.com>

Am Sonntag, dem 28.11.2021 um 11:09 +0330 schrieb Hamzeh Nasajpour:
> Hi Lillana,
> 
> Thanks for your response and sorry for delay.
> 
> > We could inject /run/current-system, given that /run likewise ought
> > to be root-writable 
> > only, but I'm not sure how much that helps.  The obvious solution
> > is to
> > use canonical (store) paths with pkexec.
> 
> Honestly, I couldn't find out your solution. Can you clarify it?
That is instead of writing "pkexec sh", write "pkexec /run/current-
system/profile/bin/sh" or similar.

Cheers




      reply	other threads:[~2022-09-09 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-21  8:03 bug#52011: pkexec: PATH environment variable Hamzeh Nasajpour
2021-11-21 14:52 ` Liliana Marie Prikler
2021-11-28  7:39   ` Hamzeh Nasajpour
2022-09-09 16:10     ` Liliana Marie Prikler [this message]

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=0b97c774c903f45cb9ca3efbb12d55459d7d45c8.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=52011@debbugs.gnu.org \
    --cc=h.nasajpour@pantherx.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.