commit bdc5b7249389738a4d564db6d65407ce256a65de from: Omar Polo date: Mon Sep 13 15:48:31 2021 UTC [openbsd] allow creation of files in ~/Downloads commit - b8fd0ed6d85ecf09d927c6551d1e233f41bd68ab commit + bdc5b7249389738a4d564db6d65407ce256a65de blob - dc6d742cbcde8d75ac4bf8eb9c10ee2b3a60eec7 blob + 952b4a1a2dca0bec9854e2ffa1d6c084b622dcb8 --- sandbox.c +++ sandbox.c @@ -47,7 +47,7 @@ sandbox_fs_process(void) strlcpy(path, getenv("HOME"), sizeof(path)); strlcat(path, "/Downloads", sizeof(path)); - if (unveil(path, "r") == -1) + if (unveil(path, "rwc") == -1) err(1, "unveil"); strlcpy(path, getenv("HOME"), sizeof(path));