|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST YOU: unsafe treatment of filenames (e.g. containing spaces) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Ulrich Windl <Ulrich.Windl> |
| Component: | libzypp | Assignee: | Michael Andres <ma> |
| Status: | RESOLVED FIXED | QA Contact: | Stanislav Visnovsky <visnov> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | aj, andreas.hanke, crrodriguez |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ulrich Windl
2007-01-12 08:56:18 UTC
libzypp problem i guess RPM backend probably needs more/proper quoting IMO it's rpm related: # rpm -Uvh WITH\ BLANK/test-1.0-0.intern.x86_64.rpm error: open of WITH failed: No such file or directory error: open of BLANK/test-1.0-0.intern.x86_64.rpm failed: No such file or directory # rpm -Uvh 'WITH BLANK/test-1.0-0.intern.x86_64.rpm' error: open of WITH failed: No such file or directory error: open of BLANK/test-1.0-0.intern.x86_64.rpm failed: No such file or directory These forms should work. But they don't, and I won't make such an incompatible change. You need additional quoting. fixed in libzypp-2.12.1 (In reply to comment #3) > IMO it's rpm related: RPM must have a very strange command line parser: I verified that processing is don in the C program. However these names don't work (are treated a two arguments): file\ space.prm "file space.rpm" 'file space.rpm' This works: 'file\ space.rpm' "file\ space.rpm" Maybe reassign to component base system with a new description. Problem should be fixed in RPM with quite high priority. (In reply to comment #5) > fixed in libzypp-2.12.1 Did you verify (despite that it's a good idea to quite the filenames) that this fixes the problem? See comment #6. (In reply to comment #6) > > This works: > 'file\ space.rpm' That's the libzypp fix. > Maybe reassign to component base system with a new description. Problem should > be fixed in RPM with quite high priority. See comment #4. I assigned it to mls because it should be fixed in RPM, but it won't. See also: Bug 181275 This behaviour of rpm is a feature, double-quoting is the correct solution. rpm expects the user to do that. released |