From 74afa3cc385827c1c1e46153368fc16e12419e84 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 6 Dec 2021 14:45:30 +0100 Subject: Fix: Open file writeable Signed-off-by: Matthias Beyer --- src/profile.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/profile.rs b/src/profile.rs index 34c152e..4a9bc2a 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -220,6 +220,7 @@ impl ProfileStateSaveable { .create_new(false) // do not _always_ create a new file .create(true) .truncate(true) + .write(true) .open(&state_dir_path.profile_state()) .await .with_context(|| format!("Opening {}", state_dir_path.profile_state().display()))? -- cgit v1.2.3