aboutsummaryrefslogtreecommitdiff
blob: c668cfa98a1da1c552faf10d006ec8d32a1da300 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

addwrite $PWD

mkdir -p to-be/deleted
cd to-be/deleted
rmdir ../deleted

# In https://bugs.gentoo.org/590084 sanbox should deny
# access here and touch should fail:
! touch ../foo