A parent directory without search permission prevents changing the permissions of its children, so apply the deferred chmods in reverse order, as GNU tar does. Also add a test and changelog entry for #10676.