[patch] chmod: change directory permissions in pre-order

From: Sergey Kandaurov <pluknet_at_freebsd.org>
Date: Thu, 4 Jun 2015 13:55:32 +0300
Change directory permissions in pre-order.
In this order, it won't try to recurse into a directory for which
it doesn't have permission, before changing that permission.
This follows the existing behavior in other BSDs, linux, OS X.

Obtained from:  NetBSD
Found by:	while digging in buildbot sources

Received on Thu Jun 04 2015 - 08:55:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC