Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#73651 - [filesystem] 2021.12.07-1: incorrect PATH setting
Attached to Project:
Arch Linux
Opened by Matthew T. Hoare (Head_on_a_Stick) - Sunday, 06 February 2022, 16:14 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 06 February 2022, 17:39 GMT
Opened by Matthew T. Hoare (Head_on_a_Stick) - Sunday, 06 February 2022, 16:14 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 06 February 2022, 17:39 GMT
|
DetailsThe filesystem-2021.12.07-1 package supplies /etc/profile that uses an append_path function to add /usr/local/{s,}bin to PATH but those directories should appear before {,/usr}/{s,}bin to allow users to shadow applications in those directories with their own versions.
Steps to reproduce: touch /usr{,/local}/bin/bug_example chmod +x /usr{,/local}/bin/bug_example type bug_example # shows /usr/bin/bug_example rm /usr{,/local}/bin/bug_example |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 06 February 2022, 17:39 GMT
Reason for closing: Not a bug
Additional comments about closing: The paths are added in the correct order
Sunday, 06 February 2022, 17:39 GMT
Reason for closing: Not a bug
Additional comments about closing: The paths are added in the correct order
Comment by Doug Newgard (Scimmia) -
Sunday, 06 February 2022, 16:32 GMT
They *do* appear before /usr/bin (the only one that exists in Arch). See line 20. You've got something else going on.