summaryrefslogtreecommitdiffstats
path: root/src/ceph/qa/workunits/fs/snaps/snaptest-authwb.sh
blob: 9dd98458f6be3ad3e74948c71473b8bc397d5e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -x

set -e

ceph mds set allow_new_snaps true --yes-i-really-mean-it

touch foo
chmod +x foo
mkdir .snap/s
find .snap/s/foo -executable | grep foo
rmdir .snap/s
rm foo

echo OK