Comment 9 for bug 1932331

Revision history for this message
Georgia Garcia (georgiag) wrote :

I was able to reproduce this issue on impish and hirsute arm64.
It seems to be an issue with the versions of bash on impish (5.1.8(1)-release) and hirsute (5.1.4(1)-release).

The bash sub-shell on arm, for UTF-8, is adding an artifact when creating the file.
The test creates a file with the wrong character - due to the bash bug, but the policy is filled with the octal representation of a different character. Since they don't match, we get the error "Permission denied".

The attached patch should work. It sets the default locale to disable UTF-8 multibyte match.