do not ignore setuid/gid errors

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>