meson/test cases/common/190 install_mode
Eli Schwartz f8ebfdf7b1
install modes should not apply sticky bit to files
This is generally a bad idea, e.g. it causes OSError on freebsd.

It also gets ignored by solaris and thus causes unittest failures.

The proper solution is to simply reject any attempt to set this, and log a
warning.

The install_emptydir function does apply the mode as well, and since it
is a directory it actually does something. This is the only place where
we don't reset the mode.

Although install_subdir also installs directories, and in theory it
could set the mode as well, that would be a new feature. Also it doesn't
provide much granularity and has mixed semantics with files. Better to
let people use install_emptydir + install_subdir.

Fixes #5902
2022-08-23 21:07:00 -04:00
..
sub1 Condense test directory names. 2021-04-26 23:39:15 +01:00
sub2 Condense test directory names. 2021-04-26 23:39:15 +01:00
config.h.in Condense test directory names. 2021-04-26 23:39:15 +01:00
data_source.txt Condense test directory names. 2021-04-26 23:39:15 +01:00
foo.1 Condense test directory names. 2021-04-26 23:39:15 +01:00
meson.build minstall: do not trample install_mode by rpath fixer 2022-08-18 07:57:51 -04:00
rootdir.h Condense test directory names. 2021-04-26 23:39:15 +01:00
runscript.sh Condense test directory names. 2021-04-26 23:39:15 +01:00
stat.c Condense test directory names. 2021-04-26 23:39:15 +01:00
test.json install modes should not apply sticky bit to files 2022-08-23 21:07:00 -04:00
trivial.c Condense test directory names. 2021-04-26 23:39:15 +01:00