diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-06 14:45:30 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-06 16:31:29 +0100 |
commit | 74afa3cc385827c1c1e46153368fc16e12419e84 (patch) | |
tree | 794c1d2f631680b0f49c4ee5965d3ee6445c1aea /src | |
parent | c434c68a958ac46a09d13c7e6f50c67bb61403d9 (diff) |
Fix: Open file writeable
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/profile.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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()))? |