aboutsummaryrefslogtreecommitdiff
blob: 73b780308098be563df6e7fb77cadd9cc001f4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# https://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