On Sat, Jul 21, 2018 at 05:05:43PM +0200, Igor Gnatenko wrote: > On Sat, Jul 21, 2018 at 4:56 PM Mark Wielaard <m...@klomp.org> wrote: > > > Calling fchmod with a suid bit on a file might silently fail or the suid > > bit might be slilently cleared by a call to fchown if already set. Swap > > the calls so that the owner is set first and then set the suid bit. > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1607044 > > Reported-and-tested-by: Igor Gnatenko <ignatenkobr...@fedoraproject.org>
Thanks for testing. Pushed to master. Cheers, Mark