Fixed
Created: May 13, 2015
Updated: Dec 3, 2018
Resolved Date: Jun 17, 2015
Found In Version: 6.0.0.18
Fix Version: 6.0.0.22
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
When running the command rpm -qai --root=/<some>/<invalid>/<path>, the directory /<some>/<invalid>/<path> is created.
Expected result: running the above command should return an error like "Invalid directory" or "No such file or directory"
With the current solution, if a user makes a typo in when typing the path, there is no way for him to know about it. Also, repeating the mistake pollutes user's environment with useless directories, without him being aware of it.
rpm -qai --root=/fdsd/dfscsd
ls /fdsd/dfscsd