Skip to content

Commit

Permalink
[extension/file_storage] Mention umask in the permissions of file_sto…
Browse files Browse the repository at this point in the history
…rage (open-telemetry#37783)

#### Description

I was tripped up by umask while I was configuring `file_storage`. 

#### Link to tracking issue

Fixes: open-telemetry#37774
  • Loading branch information
cbandy authored Feb 12, 2025
1 parent 556315e commit 9b05daf
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 9b05daf

Please sign in to comment.