Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.unix.programmer > #16945
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Rainer Weikusat <rweikusat@talktalk.net> |
| Newsgroups | comp.unix.programmer |
| Subject | Re: Default PATH setting - reduce to something more sensible? |
| Date | Thu, 16 Jan 2025 11:51:13 +0000 |
| Lines | 51 |
| Message-ID | <87v7ufkmdq.fsf@doppelsaurus.mobileactivedefense.com> (permalink) |
| References | <vm5dei$2c7to$1@dont-email.me> <87ikqh5n9u.fsf@doppelsaurus.mobileactivedefense.com> <53xhP.976$GtJ8.93@fx48.iad> <87ed155hdu.fsf@doppelsaurus.mobileactivedefense.com> <poBhP.1243903$bYV2.919023@fx17.iad> <877c6wf5o2.fsf@doppelsaurus.mobileactivedefense.com> <rRQhP.65293$XfF8.23235@fx04.iad> <8734hjga0n.fsf@doppelsaurus.mobileactivedefense.com> <vm9err$35gfs$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| X-Trace | individual.net ysoGJbZSm3f/q9+Bsss48wFQkPVcJjRMPpLjeDcpovNDq359A= |
| Cancel-Lock | sha1:RjFpdDQ00dKKV3dgujeQzF97meE= sha1:HkiHwbwTB3fiV1Yvi607ioeKLUY= sha256:/pIhG2GEiOzvLUceBAoIjy+hZnZilk/CCc4027zWlxI= |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
| Xref | csiph.com comp.unix.programmer:16945 |
Show key headers only | View raw
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: > On 15.01.2025 20:19, Rainer Weikusat wrote: >> scott@slp53.sl.home (Scott Lurndal) writes: >>> Rainer Weikusat <rweikusat@talktalk.net> writes: >>>> scott@slp53.sl.home (Scott Lurndal) writes: >>>>> Rainer Weikusat <rweikusat@talktalk.net> writes: >>>>>> scott@slp53.sl.home (Scott Lurndal) writes: >>>>>>> Rainer Weikusat <rweikusat@talktalk.net> writes: >>>>>>>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: > [...] > >> The PDP-11 can be rationally compared with the situation of the OP, >> namely, doing local filesystem operations on a single computer. [...] > > Since you're referring to me, the OP, please note that most arguments > here have quickly made a relation to a straw man (a performance theme) > or made other deviations from the basic question(s) that concerned me. > > Essentially there were two questions I had that I can reformulate in a > more compact form as > > "Why, in the first place, are all these path components > part of the default PATH for ordinary users? - Is there > any [functional] rationale or necessity for that?" Because someone thinks that all these locations should be searched for commands in the order specified. Eg, the point of the lightdm entry is very likely to enable lightdm to 'override' arbitrary user commands by making sure that the shell will find lightdm-commands of the same name first. OTOH, that's pretty much a truism. > > "_If_ many of the default PATH components are unnecessary, > where and how to best reduce these settings to a sensible > subset? - Without spoiling the system, of course." As already written above: They are part of PATH because someone thinks that's sensible. Whether or not they're necessary in a certain situation is an entirely different question. If you want to work out empirically what's "necessary" for you, remove them all and add directories to the default PATH one-by-one as the need arises. OTOH, what's the point? My flat contains more light switches than I actually need, with some of them being (as far as I could determine) entirely blind/ connected to lamps I don't use and some of them being redundant because they switch lamps on or off which can also be switched on or off with another light switch. But as they're just sitting on the wall and removing them would require work, I haven't even considered doing so.
Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Default PATH setting - reduce to something more sensible? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-14 11:14 +0100
Re: Default PATH setting - reduce to something more sensible? cross@spitfire.i.gajendra.net (Dan Cross) - 2025-01-14 13:55 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-14 17:16 +0000
Re: Default PATH setting - reduce to something more sensible? scott@slp53.sl.home (Scott Lurndal) - 2025-01-14 17:22 +0000
Re: Default PATH setting - reduce to something more sensible? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-14 17:59 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-14 19:23 +0000
Re: Default PATH setting - reduce to something more sensible? scott@slp53.sl.home (Scott Lurndal) - 2025-01-14 22:17 +0000
Re: Default PATH setting - reduce to something more sensible? cross@spitfire.i.gajendra.net (Dan Cross) - 2025-01-14 23:24 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-15 15:38 +0000
Re: Default PATH setting - reduce to something more sensible? scott@slp53.sl.home (Scott Lurndal) - 2025-01-15 15:52 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-15 19:19 +0000
Re: Default PATH setting - reduce to something more sensible? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-16 00:03 +0100
Re: Default PATH setting - reduce to something more sensible? scott@slp53.sl.home (Scott Lurndal) - 2025-01-15 23:14 +0000
Re: Default PATH setting - reduce to something more sensible? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 13:50 +0100
Re: Default PATH setting - reduce to something more sensible? cross@spitfire.i.gajendra.net (Dan Cross) - 2025-01-15 23:26 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-16 11:51 +0000
Re: Default PATH setting - reduce to something more sensible? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 14:10 +0100
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-19 20:36 +0000
Re: Default PATH setting - reduce to something more sensible? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-01-19 15:55 -0800
Re: Default PATH setting - reduce to something more sensible? antispam@fricas.org (Waldek Hebisch) - 2025-01-16 17:01 +0000
Re: Default PATH setting - reduce to something more sensible? Rainer Weikusat <rweikusat@talktalk.net> - 2025-01-16 19:07 +0000
csiph-web