Re: $HOME/bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2009 at 02:08:55PM +0200, Ondřej Vašík wrote:
> Stefan Assmann wrote:
> > Hi all,
> > 
> > I was wondering why there's no $HOME/bin directory and $HOME/bin not
> > mentioned in the $PATH variable. Any particular reason not to have that
> > by default?
> 
> $HOME/bin is not on every system and the other default directories in
> default PATH are(at least on the most of systems ;) ). However, some
> Linux distros do add something as:
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/bin" ] ; then
> PATH="$HOME/bin:$PATH"
> fi
> as default - so this dir gets added automatically when does exist.
> I'm generally +1 for changing the default that way - as it would not
> change anything for users without that directory.

I would only want this at the *end* of the current PATH, not the
beginning, for obvious security reasons.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux