aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index 030112b..cf6ee8b 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -245,7 +245,7 @@ sandbox()
struct vhost *h;
for (h = hosts; h->domain != NULL; ++h) {
- if (unveil(h->dir, "rx") == -1)
+ if (unveil(h->dir, "r") == -1)
err(1, "unveil %s for domain %s", h->dir, h->domain);
}