Error initializing storage of type raft: failed to create fsm: failed to open bolt file: open /home/vault/data/vault.db: permission denied


Trying to start the vault server following the guides that specify creating the data directory in /home/vault/data results in the above error and service cannot be started.


According to the guide here:, changing the data directory to /opt/raft and the hcl file to reflect that the server can be started without any errors.