]> source.dussan.org Git - nextcloud-server.git/commit
Expose umask override value as config parameter: localstorage.umask 32723/head
authorMartin Brugnara <martin@0x6d62.eu>
Fri, 3 Jun 2022 22:24:35 +0000 (00:24 +0200)
committerMartin Brugnara <martin@0x6d62.eu>
Sun, 5 Jun 2022 17:19:31 +0000 (19:19 +0200)
commit74095699940184048e4cdd84360f41cc08a12528
tree5828176c3619bf8822c68101d55434aa27cce828
parent4399ed47122543b404fff82b2246b55544842e57
Expose umask override value as config parameter: localstorage.umask

Commit 451c06d introduced override for umask value.
This is needed to avoid broken env configuration or dirty workers
to mess with the permissions when creating new files.

Most Nextcloud, that does not integrate with external software
would work fine with an hard-coded value (451c06d set it at 022).

Advanced install may require more flexibility, as such this commit
exposes the "umask override value" as configuration parameter:
`localstorage.umask`

It defaults to 0022 both in code and in config/config.sample.php .

Signed-off-by: Martin Brugnara <martin@0x6d62.eu>
config/config.sample.php
lib/private/Files/Storage/Local.php