Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions for /var/lib/vaultwarden/data missing #3

Closed
0xErnie opened this issue May 15, 2023 · 2 comments
Closed

Permissions for /var/lib/vaultwarden/data missing #3

0xErnie opened this issue May 15, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@0xErnie
Copy link

0xErnie commented May 15, 2023

When starting vaultwarden the first time it throws an error, after trying to save the newly created key in /var/lib/vaultwarden/data.

It would help to change the owner of this folder to the vaultwarden user.

@dionysius
Copy link
Owner

Hmmm, technically its set to readwrite by systemd: https://github.com/dionysius/vaultwarden-deb/blob/main/debian/vaultwarden.service#L43

Let me check the systemd documentation

@dionysius
Copy link
Owner

dionysius commented May 16, 2023

And technically this should be the home folder of the vaultwarden user through https://github.com/dionysius/vaultwarden-deb/blob/main/debian/vaultwarden.postinst#L5

@dionysius dionysius self-assigned this May 16, 2023
@dionysius dionysius added the bug Something isn't working label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants