You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not too familiar with the various standardization efforts on linux directories but what I do know is that I use executables within /usr/local/ and that debian's default profile includes them in the bash's PATH. Is it a deliberate decision that the /usr/local/ subdirs are not part of the default path of pkexec, which seems to be set here?
The text was updated successfully, but these errors were encountered:
stefanct
changed the title
pkexec does not include /usr/local/(s)bin in its path
pkexec does not include /usr/local/(s)bin in its PATH
Apr 17, 2024
I can't remember what I was doing 6 months ago exactly but I had clearly problems executing an executable in /usr/local/bin (or sbin as root) via pkexec because of failing PATH lookups. As I wrote, yes, /usr/local/bin is part of my environment. AFAICT the spot you pasted (which is the same I linked) creates PATH from scratch and does not append to an existing environment.
I am not too familiar with the various standardization efforts on linux directories but what I do know is that I use executables within
/usr/local/
and that debian's default profile includes them in the bash'sPATH
. Is it a deliberate decision that the/usr/local/
subdirs are not part of the default path of pkexec, which seems to be set here?The text was updated successfully, but these errors were encountered: