[Fedora-packaging] rpmlint non-standard-[ug]id, non-standard-dir-perm

Ville Skyttä ville.skytta at iki.fi
Wed Sep 17 20:09:31 UTC 2008

On Tuesday 16 September 2008, Chuck Anderson wrote:

> What is the rationale for these warnings and errors,

non-standard-[ug]id: useful for catching bad user/group ownership, most often 
encountered with missing %defattr/%attr when built as non-root with rpmbuild 
< 4.4.

non-standard-dir-perm: useful for catching bad dir permissions, e.g. sgid bits 
leaked to packages in some build setups, or accidentally otherwise bad perms.  
Should probably be downgraded from error to warning though.

> and why should the package avoid using them?

If they're intentional and correct, it shouldn't.

More information about the Fedora-packaging mailing list