Description of problem: The --addsign mode for rpm doesn't honor the user's umask setting. From what I can tell, it resets the file mode of the signed RPM to 0600 in all cases. This is a new behavior with rpm-4.5 (Fedora 10 Beta). The behavior doesn't occur in rpm-4.4.2 (Fedora 9). The gnupg versions in F9 and F10-Beta are identical so for now I'm filing this bug against rpm. Version-Release number of selected component (if applicable): rpm-4.5.90 gnupg-1.4.9 How reproducible: Always Steps to Reproduce: 1. build an rpm with 'rpmbuild -bb' 2. Set the RPM file mode with 'chmod 0644' 3. sign the rpm with 'rpm --addsign' 4. observe the new file mode Actual results: Expected results: Signing an RPM should change its file mode. Additional info:
Ah, another side-effect of using mkstemp(). Fill fix...
..and done upstream. Rawhide will get it on next tarball update (should be within a week or so)
In rawhide now.