From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [ISSUE] PATH duplications
Date: Mon, 03 Feb 2020 18:32:28 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18777@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
New issue by beginner3456789 on void-packages repository
https://github.com/void-linux/void-packages/issues/18777
Description:
### System
Void 5.4.16_1 x86_64 GenuineIntel notuptodate rrFFFF
### Package
base-files-0.140_12 Void Linux base system files
### Expected behavior
PATH=/usr/bin
### Actual behavior
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
### Steps to reproduce the behavior
The /etc/profile seems to add the extra PATH directories. So if a file is not found in /usr/bin the shell also looks in /bin and /sbin and /usr/bin etc. That must be much slower. The /etc/profile is probably from a different Linux. I have PATH=/usr/bin for root and PATH=/usr/local/bin:/usr/bin for user except that is debatable. Thanks.
next reply other threads:[~2020-02-03 17:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-03 17:32 voidlinux-github [this message]
2020-02-13 17:47 ` voidlinux-github
2020-02-14 1:53 ` voidlinux-github
2020-02-15 17:53 ` beginner3456789
2020-02-25 20:58 ` loreb
2020-02-25 20:59 ` loreb
2020-02-25 22:48 ` beginner3456789
2020-02-26 23:16 ` [ISSUE] [CLOSED] " beginner3456789
2020-02-27 2:50 ` eli-schwartz
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18777@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).