https://bugzilla.redhat.com/show_bug.cgi?id=1645172



--- Comment #7 from Jaroslav Škarvada <[email protected]> ---
(In reply to Ondrej Dubaj from comment #4)
> Bugs in spec file fixed, but must use %attr. Without it I cannot build rpm
> package.

It works for me without %attr by just using:
chmod 0755 %{buildroot}%{_bindir}/%{name}
in the %install phase.

But AFAIK firejail is SUID program, so if you remove SUID bit (either with the
attr or chmod), it will not work. What build error you encountered? I built it
OK, then:
$ rpmls ./firejail-0.9.56-2.fc27.x86_64.rpm  | grep /usr/bin/firejail
-rwsr-xr-x  /usr/bin/firejail

Note the 's' bit, it's for SUID.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to