Using 'false' in install_mode argument changed behavior from meson 1.0.1 to 1.4.1
Author: bradypeacockCreated Sep 22, 2026Updated Sep 22, 2026
On RHEL8 using meson 1.0.1 I was able to write the following meson line and it worked just fine:
install_data('myfile', install_mode: ['rw-rw-r--', false, 'mygroup'])
Upon updating my system to RHEL9 with meson 1.4.1 I now get the following error: Unable to set owner False and group 'mygroup': Operation not permitted, ignoring...
If I explicitly set the user/owner argument to my current user it works. I was expecting that setting the argument to 'false' would do this, but that appears not to be the case. I do not want to explicitly set the argument since the project gets installed by different users on my team.
Is this fixed in a later version of meson? Is there a workaround on my current version?
Source: mesonbuild/meson