diff options
author | lostd <lostd@2f30.org> | 2015-07-02 01:02:47 +0100 |
---|---|---|
committer | lostd <lostd@2f30.org> | 2015-07-02 01:02:47 +0100 |
commit | 0548a181e64bd9e5af6cc72282620356890b7bed (patch) | |
tree | 365d0f3eabc792aa2914e25cccfcde347ecbfb69 | |
parent | 018b52a8ee0fce1f6697cd8c806d9a91f4a82663 (diff) | |
download | nnn-0548a181e64bd9e5af6cc72282620356890b7bed.tar.gz |
Test for when permissions change while browsing
-rw-r--r-- | mktest.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |