Re: Adding ~/.local/bin to default PATH

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

 



On Tue, Jul 26, 2011 at 12:02:14PM -0700, Josh Stone wrote:
> On 07/26/2011 09:49 AM, Richard W.M. Jones wrote:
> > On Tue, Jul 26, 2011 at 08:45:11AM -0430, Robert Marcano wrote:
> >> In /etc/skel/.bash_profile they are added to the end and I think that is ok
> >>
> >> PATH=$PATH:$HOME/.local/bin:$HOME/bin
> > 
> > This was added between bash-4.2.10 -2 and -3:
> > 
> > http://pkgs.fedoraproject.org/gitweb/?p=bash.git;a=commitdiff;h=02b20d810111e8b53bb98ad49fedd1d583ce62e1
> > 
> > because of https://bugzilla.redhat.com/show_bug.cgi?id=699812
> > 
> > There is some rationale in that bug, but I think it's extremely bogus.
> 
> bogus because... ?

Bogus because this is the first I've heard of ~/.local/bin, speaking
as a Unix user since long before Linux existed.

It shouldn't be changed mid-way through Fedora 15.

It shouldn't be changed without serious discussion, instead of on the
basis of a single comment in a BZ.

What are the security implications of having a hidden path containing
binaries?

> I for one find it useful since e.g. "python setup.py install --user"
> puts things in ~/.local/{bin,lib,etc}/

You personally can add ~/.local/bin to your PATH if you want to.  And
that's fine because you're not silently getting a hidden path to
binaries added that you don't know about.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[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