From 0548a181e64bd9e5af6cc72282620356890b7bed Mon Sep 17 00:00:00 2001 From: lostd Date: Thu, 2 Jul 2015 01:02:47 +0100 Subject: [PATCH] Test for when permissions change while browsing --- mktest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mktest.sh b/mktest.sh index e72b81fb..9509f45e 100644 --- a/mktest.sh +++ b/mktest.sh @@ -25,4 +25,6 @@ echo 'int main(void) { *((char *)0) = 0; }' > ill.c make ill > /dev/null echo 'test/ill' > ill.sh mkdir empty-dir -echo 'chmod 000 test' > lock.sh +mkdir cage +echo 'chmod 000 test/cage' > cage/lock.sh +echo 'chmod 755 test/cage' > cage-unlock.sh