Description of problem: Trying to get a package file's permissions is unsuccessful. Version-Release number of selected component (if applicable): rpm-4.6.0-0.rc1.8.i386 How reproducible: Always Steps to Reproduce: 1. Issue command "rpm -q --qf '[%{FILENAMES} %{FILEMODES:perms}\n]' rpm" Actual results: /bin/rpm (not a number) /etc/cron.daily/rpm (not a number) /etc/logrotate.d/rpm (not a number) /etc/rpm (not a number) /usr/bin/rpm2cpio (not a number) /usr/bin/rpmdb (not a number) . . . Expected results: On each line, the file permissions instead of (not a number) Additional info: This seems related to the 'h' (short) data type. i.e.: %{FILEMODES:hex} and %{FILERDEVS:hex} are also displayed as (not a number)
Seems duplicate: sorry *** This bug has been marked as a duplicate of bug 471820 ***