mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #2811] [MERGED] check if data folder is a writable directory #3156
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2811
Author: @stefan0xC
Created: 10/11/2022
Status: ✅ Merged
Merged: 10/14/2022
Merged by: @dani-garcia
Base:
main← Head:check-data-folder-permissions📝 Commits (2)
7532072add check if data folder is a directory2dd5086more verbose permission denied error📊 Changes
2 files changed (+15 additions, -2 deletions)
View changed files
📝
src/main.rs(+4 -0)📝
src/util.rs(+11 -2)📄 Description
Adds a check if the data folder is a directory and also returns a more verbose error message if the permission was denied when creating a file.
I tried adding something like the following to
check_data_folder()as wellHowever, this does not really work because
readonly()only checks if anyone has write permissions. 😖🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.