Skip to content

Commit

Permalink
Mention umask in the permissions of file_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
cbandy committed Feb 7, 2025
1 parent b589bef commit 3e2cf45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension/storage/filestorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e2cf45

Please sign in to comment.