[Bug 683311] Re: /etc/profile has bash scripting bug
Brian Murray
brian at ubuntu.com
Fri Oct 21 18:30:08 UTC 2011
Its actually base-files that contains this file.
** Changed in: casper (Ubuntu)
Importance: Undecided => Medium
** Package changed: casper (Ubuntu) => base-files (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper 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:
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/null/+bug/683311/+subscriptions
More information about the foundations-bugs
mailing list