Merge "Fix permissions dump in the bugreports" into main