New comment by cattyhouse on void-packages repository https://github.com/void-linux/void-packages/pull/43338#issuecomment-1501331458 Comment: > I can't recreate the problem you're describing. it's easy to reproduce 1. edit `/etc/profile` 2. insert `echo "the PATH before appendpath is: $PATH"` **on the first line** 3. insert `echo "the PATH after appendpath is: $PATH"` **on the last line** 4. ssh into it with any account result you should see: the PATH after appendpath is `...:...:/usr/local/sbin:/usr/local/bin`, it makes /usr/local/{sbin,bin} in the end instead of in the beginning