Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-10 12:23:31 +0300
committerGitHub <noreply@github.com>2022-06-10 12:23:31 +0300
commitbea755f1539e8c918b63347e5ff104f154c99b5c (patch)
tree70eea1ac55aa9f22ca392afbda532aafd094c506 /config/config.sample.php
parent56b1453945e7052046031fdd210350b4aba940e0 (diff)
parent74095699940184048e4cdd84360f41cc08a12528 (diff)
Merge pull request #32723 from MartinBrugnara/master
Expose umask override value as config parameter: localstorage.umask
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index c3a0048625c..4cb19c8d9e9 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1840,6 +1840,18 @@ $CONFIG = [
'localstorage.allowsymlinks' => false,
/**
+ * Nextcloud overrides umask to ensure suitable access permissions
+ * regardless of webserver/php-fpm configuration and worker state.
+ * WARNING: Modifying this value has security implications and
+ * may soft-break the installation.
+ *
+ * Most installs shall not modify this value.
+ *
+ * Defaults to ``0022``
+ */
+'localstorage.umask' => 0022,
+
+/**
* EXPERIMENTAL: option whether to include external storage in quota
* calculation, defaults to false.
*