meson/docs/markdown/snippets
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
..
add_release_note_snippets_here Tell contributors not to write things in the snippet help file. [skip ci] 2020-01-27 23:11:44 +02:00
deprecated_install_mode_sticky.md install modes should not apply sticky bit to files 2022-08-23 21:07:00 -04:00
fs_copyfile.md modules/fs: Replace configure_file(copy:) with fs.copyfile 2022-08-18 16:53:36 -04:00
install_sources_preserve_path_arg.md implement the new preserve_path kwarg for install_data too 2022-07-08 01:58:23 -04:00