polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
58 stars 29 forks source link

pkexec does not include /usr/local/(s)bin in its PATH #444

Open stefanct opened 5 months ago

stefanct commented 5 months ago

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?