diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-03-12 00:38:51 -0700 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2018-04-18 11:44:54 -0700 |
commit | a98e9a1b70b43c06bb634521691aa516f7d2387d (patch) | |
tree | 716a773d2ba11ec33944f4adb5036c71eb81638b | |
parent | 59b0fa9722c92f2df76dc87f7a4f0afbce4bd6fa (diff) | |
download | meson-a98e9a1b70b43c06bb634521691aa516f7d2387d.zip meson-a98e9a1b70b43c06bb634521691aa516f7d2387d.tar.gz meson-a98e9a1b70b43c06bb634521691aa516f7d2387d.tar.bz2 |
Add release-notes snippet for install_umask
-rw-r--r-- | docs/markdown/snippets/install_umask.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/markdown/snippets/install_umask.md b/docs/markdown/snippets/install_umask.md new file mode 100644 index 0000000..b3a2427 --- /dev/null +++ b/docs/markdown/snippets/install_umask.md @@ -0,0 +1,17 @@ +## New built-in option install_umask with a default value 022 + +This umask is used to define the default permissions of files and directories +created in the install tree. Files will preserve their executable mode, but the +exact permissions will obey the install_umask. + +The install_umask can be overridden in the meson command-line: + + $ meson --install-umask=027 builddir/ + +A project can also override the default in the project() call: + + project('myproject', 'c', + default_options : ['install_umask=027']) + +To disable the install_umask, set it to 'preserve', in which case permissions +are copied from the files in their origin. |