Bug 163416

Summary: /usr/sbin/system-install-packages fails if cwd has spaces in name
Product: [Fedora] Fedora Reporter: Edward J. Huff <ejhuff>
Component: system-config-packagesAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-21 20:02:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edward J. Huff 2005-07-16 01:27:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
exec python /usr/share/system-config-packages/SinglePackageWindow.py $*

should read

exec python /usr/share/system-config-packages/SinglePackageWindow.py "$*"


Version-Release number of selected component (if applicable):
system-config-packages-1.2.25-1

How reproducible:
Always

Steps to Reproduce:
1. mkdir 'two words'
2. cd 'two words'
3. /usr/bin/system-install-packages $(pwd)/foo.rpm


Actual Results:  After entering root password, got an alert:

Could not open package.
The file '/home/user/two' could not be read.
Make sure you have ...


Expected Results:  After entering root password, got an alert:

Could not open package.
The file '/home/user/two words/foo.rpm' could not be read.
Make sure you have ...


Additional info:

fgrep '$*' /usr/sbin/* shows a number of similar bugs.

Comment 1 Jeremy Katz 2005-09-21 20:02:49 UTC

*** This bug has been marked as a duplicate of 151621 ***