From 018b52a8ee0fce1f6697cd8c806d9a91f4a82663 Mon Sep 17 00:00:00 2001 From: lostd Date: Thu, 2 Jul 2015 00:58:01 +0100 Subject: [PATCH] More test cases about permissions --- mktest.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mktest.sh b/mktest.sh index 1af7a6ee..e72b81fb 100644 --- a/mktest.sh +++ b/mktest.sh @@ -18,8 +18,11 @@ ln -s normal-dir ln-normal-dir ln -s nowhere ln-nowhere mkfifo mk-fifo touch no-access && chmod 000 no-access +mkdir no-access-dir && chmod 000 no-access-dir ln -s ../normal.txt normal-dir/ln-normal.txt ln -s ../normal.txt normal-dir/ln-normal 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