← Back to team overview

registry team mailing list archive

[Bug 683311] [NEW] /etc/profile has bash scripting bug

 

You have been subscribed to a public bug:

/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

** Affects: null
     Importance: Undecided
         Status: Invalid

** Affects: ubuntu
     Importance: Undecided
         Status: Invalid

-- 
/etc/profile has bash scripting bug
https://bugs.launchpad.net/bugs/683311
You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project.