summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-01-06 01:52:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-01-06 01:52:53 +0000
commit7c65cb083dd598aff0f35602409f6d8f0deee196 (patch)
tree5fe6b2254e15dcedaee4bcbd5b161b9ec5e7c5e5 /sys
parent54fb0f57a499eb9d2e2a155b72ef42d0052c4f3a (diff)
Set directory mode/user/times on the post-order pass, not pre-order.
Fixes a problem with "cp -R" (and probably cp -p) with directories that do not grant the owner write permission. However, we need to know whether or not we created the directory ourselves so stash that fact in fts_pointer (treat it as a boolean) but add a macro to access it for readability. This also allows me to remove the duplicated file times setting code for "cp -p". Closes PR 3058; deraadt@ OK
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions