aboutsummaryrefslogtreecommitdiff
blob: 96d7cc9c15b1030cf25a2401ed721776bb22116e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Ensure that fchmod() doesn't trigger spurious violations in the most
# basic of cases.
#
addwrite $PWD

# This should not trigger a violation.
rm -f file
touch file
fchmod-0 0644 file || exit 1