From 9b05daf7c6fbff849d41042b15daa20e029a6590 Mon Sep 17 00:00:00 2001 From: Chris Bandy Date: Wed, 12 Feb 2025 17:19:16 +0000 Subject: [PATCH] [extension/file_storage] Mention umask in the permissions of file_storage (#37783) #### Description I was tripped up by umask while I was configuring `file_storage`. #### Link to tracking issue Fixes: #37774 --- extension/storage/filestorage/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extension/storage/filestorage/README.md b/extension/storage/filestorage/README.md index 7f3c7c563eb5..65001d1e2b47 100644 --- a/extension/storage/filestorage/README.md +++ b/extension/storage/filestorage/README.md @@ -26,7 +26,9 @@ The default timeout is `1s`. `fsync` when set, will force the database to perform an fsync after each write. This helps to ensure database integrity if there is an interruption to the database process, but at the cost of performance. See [DB.NoSync](https://pkg.go.dev/go.etcd.io/bbolt#DB) for more information. -`create_directory` when set, will create the data storage and compaction directory if it does not already exist. The directory will be created with `0750 (rwxr-x--)` permissions, by default. Use `directory_permissions` to customize directory creation permissions. +`create_directory` when set, will create the data storage and compaction directories if they do not already exist. +By default, the directories will be created with `0750 (rwxr-x---)` permissions, minus the process umask. +Use `directory_permissions` to customize directory creation permissions, minus the process umask. ## Compaction