diff options
author | brooks <brooks@FreeBSD.org> | 2009-06-19 15:52:35 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2009-06-19 15:52:35 +0000 |
commit | 384550a3864abef16c80a82c2fb12d9726aab2d1 (patch) | |
tree | 9401e3261148e3626d76925165c3bfacadb21dc2 /usr.sbin/chown | |
parent | c6677455d56812ea110b3ba54e183644a474a8c4 (diff) | |
download | FreeBSD-src-384550a3864abef16c80a82c2fb12d9726aab2d1.zip FreeBSD-src-384550a3864abef16c80a82c2fb12d9726aab2d1.tar.gz |
When checking if we can write to a file, use access() instead of a
manual permission check based on stat output. Also, get rid of the
executability check since it is not used.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/chown')
0 files changed, 0 insertions, 0 deletions