Re: $HOME/.local/bin in $PATH

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

 



On 10/29/2013 08:07 AM, Matthias Runge wrote:
On 10/28/2013 09:05 PM, Matthew Miller wrote:
On Mon, Oct 28, 2013 at 11:28:01AM -0400, Paul Wouters wrote:
* Tue Jun 07 2011 Roman Rakus <…> - 4.2.10-3
- Added $HOME/.local/bin to PATH in .bash_profile (#699812)
An invisible directory in everyone's PATH. That's rather unfortunate.
Okay, I'll bite. Why is this _particularly_ unfortunate? The directory isn't
actually "invisible", just hidden. There are plenty of hidden files in home
directories which are executed all of the time, like ~/.bashrc and
~/.bash_profile, and whatever X startup scripts your environment uses.

Another reason, why this is unfortunate is:

We're supporting multiple arches. User directories are for user data.
No, user directories are not restricted to data. A user may put anything into them.

Esp. it is intended to share user directories between computers. So,
it's absolutely ok to share between multiple arches, such as i386, arm, etc.
It's not limited to architectures. Users may even share their homes across different OSes (Consider nfs-mounted home in a heterogenous network). However, coping with the issues related to this is up to the user rsp. the "conventions" of his local environment (network).

As such conventions are beyond the scope of a linux distro, it's a bad idea to let packages add PATHs underneath of $HOME.

Ralf

--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[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