Description of problem: Doing a rpmbuild -ta on a package. After that running rpmlint on the package rpmlint complains that the spec file has permissions 0600. The spec file in the package has permission 0644: [pat@localhost src]$ ls -l texi2html-1.70/texi2html.spec -rw-r--r-- 1 pat pat 1652 mar 25 02:06 texi2html-1.70/texi2html.spec I do a [pat@localhost src]$ rpmbuild -ta texi2html-1.70.tar.bz2 It builds fine. Then rpmlint gives: [pat@localhost src]$ rpmlint ~/rpmbuild/SRPMS/texi2html-1.70-0.fdr.1.src.rpm E: texi2html no-packager-tag E: texi2html no-signature W: texi2html strange-permission texi2html.spec 0600 Version-Release number of selected component (if applicable): 4.3.0-0.22 How reproducible: Always. Steps to Reproduce: 1. do a rpmbuild -ta on a package tarball 2. run rpmlint on the generated sepm 3. Actual results: W: texi2html strange-permission texi2html.spec 0600 Expected results: No warning. Additional info:
Fix your umask setting.
I may be wrong but it seems to me that my umask setting is right: [pat@localhost pat]$ umask -S u=rwx,g=rwx,o=rx [pat@localhost pat]$ umask 0002