summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-04-04 19:22:22 +0530
committerAndinus <andinus@nand.sh>2020-04-04 19:22:22 +0530
commit245c0bd02978075f295a9715edf4a0b97f46a958 (patch)
tree6fb018fd47337cb39a6ef4c04b6570113ffc6867
parent6d4b0f3a496dc5498956c12a61a19fc26aea6b69 (diff)
downloadcetus-245c0bd02978075f295a9715edf4a0b97f46a958.tar.gz
Fix unveil flag for cacheDir
-rw-r--r--cmd/cetus/main_openbsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus/main_openbsd.go b/cmd/cetus/main_openbsd.go
index 562d239..42aecaf 100644
--- a/cmd/cetus/main_openbsd.go
+++ b/cmd/cetus/main_openbsd.go
@@ -19,7 +19,7 @@ func main() {
 func unveil() {
 	unveilL := make(map[string]string)
 
-	unveilL[cache.GetDir()] = "rw"
+	unveilL[cache.GetDir()] = "rwc"
 	unveilL["/dev/null"] = "rw" // required by feh
 
 	unveilL["/etc/resolv.conf"] = "r"