[Bug 683311] Re: /etc/profile has bash scripting bug
Launchpad Bug Tracker
683311 at bugs.launchpad.net
Thu Oct 27 18:16:27 UTC 2011
** Branch linked: lp:~abhishekkumarsingh-cse/ubuntu/oneiric/base-
files/oneiric
--
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 NULL Project:
Invalid
Status in “base-files” package in Ubuntu:
In Progress
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/null/+bug/683311/+subscriptions
More information about the foundations-bugs
mailing list