From: lostd Date: Wed, 1 Jul 2015 23:58:01 +0000 (+0100) Subject: More test cases about permissions X-Git-Tag: v1.0~92^2~61 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=018b52a8ee0fce1f6697cd8c806d9a91f4a82663;p=nnn.git More test cases about permissions --- 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