commit 0548a181e64bd9e5af6cc72282620356890b7bed parent 018b52a8ee0fce1f6697cd8c806d9a91f4a82663 Author: lostd <lostd@2f30.org> Date: Thu, 2 Jul 2015 01:02:47 +0100 Test for when permissions change while browsing Diffstat:
M | mktest.sh | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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