Use 4-digits mode in the %attr (this was taken from Informix spec file) %attr(6754,root,informix) %{_prefix}/bin/oninit %attr(6755,root,informix) %{_prefix}/bin/onmode -----Original Message----- From: rpm-list-bounces@xxxxxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxxxxx] On Behalf Of Tr?nh Th?nh Sent: Monday, May 19, 2014 4:45 AM To: rpm-list@xxxxxxxxxxxxx Subject: Build SUID binaries Dear all, I am newbie in working with rpm. I want to build a package that includes some binaries with SUID flag. But in the rpm package, this flag is set off. So, how do I build? With what macros? Thanks for all support! _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list