diff options
author | anton <> | 2022-05-24 05:14:30 +0000 |
---|---|---|
committer | anton <> | 2022-05-24 05:14:30 +0000 |
commit | 3cca13651bceeb2e612d1322615a6baac2e1a8bf (patch) | |
tree | a67994b20d825d356ae047240dc9f277b3f57569 /src/lib | |
parent | b5a93ad35d68150ca701f8aa7702c2117d870aaa (diff) | |
download | openbsd-3cca13651bceeb2e612d1322615a6baac2e1a8bf.tar.gz openbsd-3cca13651bceeb2e612d1322615a6baac2e1a8bf.tar.bz2 openbsd-3cca13651bceeb2e612d1322615a6baac2e1a8bf.zip |
Recent changes to truncate(2) swapped the ordering of some validations
causing EACCESS as opposed of ESDIR to be returned while trying to
truncate a directory as a user lacking write permissions to the same
directory. As this behavior is reasonable, change the truncate directory
from /etc/ to /tmp which makes the test pass both as root and non-root.
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions