aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/coredata.py2
-rw-r--r--test cases/common/12 data/meson.build3
-rw-r--r--test cases/common/66 install subdir/meson.build3
3 files changed, 5 insertions, 3 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 17b28a8..3484421 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -456,7 +456,7 @@ builtin_options = {
'backend': [UserComboOption, 'Backend to use.', backendlist, 'ninja'],
'stdsplit': [UserBooleanOption, 'Split stdout and stderr in test logs.', True],
'errorlogs': [UserBooleanOption, "Whether to print the logs from failing tests.", True],
- 'install_umask': [UserUmaskOption, 'Default umask to apply on permissions of installed files.', None],
+ 'install_umask': [UserUmaskOption, 'Default umask to apply on permissions of installed files.', '022'],
}
# Special prefix-dependent defaults for installation directories that reside in
diff --git a/test cases/common/12 data/meson.build b/test cases/common/12 data/meson.build
index d855bba..b5b1e8a 100644
--- a/test cases/common/12 data/meson.build
+++ b/test cases/common/12 data/meson.build
@@ -1,4 +1,5 @@
-project('data install test', 'c')
+project('data install test', 'c',
+ default_options : ['install_umask=preserve'])
install_data(sources : 'datafile.dat', install_dir : 'share/progname')
# Some file in /etc that is only read-write by root; add a sticky bit for testing
install_data(sources : 'etcfile.dat', install_dir : '/etc', install_mode : 'rw------T')
diff --git a/test cases/common/66 install subdir/meson.build b/test cases/common/66 install subdir/meson.build
index 403b6f0..6f92efd 100644
--- a/test cases/common/66 install subdir/meson.build
+++ b/test cases/common/66 install subdir/meson.build
@@ -1,4 +1,5 @@
-project('install a whole subdir', 'c')
+project('install a whole subdir', 'c',
+ default_options : ['install_umask=preserve'])
# A subdir with an exclusion:
install_subdir('sub2',