[Bug 683311] Re: /etc/profile has bash scripting bug

Brian Murray brian at ubuntu.com
Fri Apr 13 18:21:51 UTC 2012


** No longer affects: null

** Also affects: base-files (Debian)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/683311

Title:
  /etc/profile has bash scripting bug

Status in “base-files” package in Ubuntu:
  In Progress
Status in “base-files” package in Debian:
  New

Bug description:
  /etc/profile loops over scripts in /etc/profile.d/ and checks them for
  readability via "if [ -r $i ]; then", however if someone was to make a
  script with a space in the name, that wouldn't work, and thus you'd
  need "$i" instead of just $i... bad practice to use spaces in this
  case, but a bash script bug nonetheless.  I can't figure out what
  package /etc/profile is part of, or how to report a "base system" sort
  of bug, but nonetheless this script is automatically provided by the
  distro and that's a (somewhat insignificant) bug.  :)

  Verified on ubuntu 10.04 LTS x64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/683311/+subscriptions




More information about the foundations-bugs mailing list