Description of problem: if using :octal or :perms in an rpm query format, the result is "(not a number)" the query works without this typetag it is needed for rpmrebuild software Version-Release number of selected component (if applicable): rpm-4.6.0-0.rc1.8.i386 How reproducible: rpm -q --queryformat '[%{FILEMODES:octal} %{FILEMODES:perms} %{FILEMODES} ]' rpm Steps to Reproduce: 1. just with the rpm query 2. 3. Actual results: (not a number) (not a number) 33261 /bin/rpm (not a number) (not a number) 33261 /etc/cron.daily/rpm (not a number) (not a number) 33188 /etc/logrotate.d/rpm (not a number) (not a number) 16877 /etc/rpm ... Expected results: 755 -rwxr-xr-x 33261 /bin/rpm ... Additional info:
*** This bug has been marked as a duplicate of bug 471820 ***