aboutsummaryrefslogtreecommitdiff
blob: 16226945bae831621b145e75c772c598d814aea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# http://bugs.gentoo.org/139591
[ "${at_xfail}" = "yes" ] && exit 77 # see script-0
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