Commit Diff


commit - 85381ff0ce69e352bbacd746b24fde959175021b
commit + 6845bee7f63f19732c8f3ea0ccd5ba9fbbdd68de
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));