← Back to team overview

touch-packages team mailing list archive

[Bug 684393] Re: $PATH discrepency when ~/bin exists

 

I strongly oppose the bug request, by the same reasons pointed out by
Rhonda:

- It does NOT improve security at all, a malicious user could revert the
changes or do worse.

- It would prevent intentional overriding of tools.

By the same reason /usr/local/bin comes before /usr/bin, ~/bin should
come first.

User tools should override local tools, which in turn override system
tools.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/684393

Title:
  $PATH discrepency when ~/bin exists

Status in bash package in Ubuntu:
  Incomplete
Status in bash package in Debian:
  New

Bug description:
  Binary package hint: bash

  Hi,

  From the thread here: http://ubuntuforums.org/showthread.php?t=1634980

  If you have a bin folder in yer home directory, it adds it to the
  path.

  It currently adds ~/bin to the start of $PATH, which has been brought
  up as a bit of a security issue. It should add that path to the end of
  the $PATH variable, not the beginning.

  See the thread for a fix.

  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: bash 4.1-2ubuntu3
  ProcVersionSignature: Ubuntu 2.6.32-26.48-generic 2.6.32.24+drm33.11
  Uname: Linux 2.6.32-26-generic i686
  Architecture: i386
  Date: Thu Dec  2 11:29:24 2010
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  ProcEnviron:
   LANGUAGE=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/684393/+subscriptions