commit | 59f31de0d445b61a1f04d1362c276a960ebbea70 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu May 10 15:39:53 2012 -0700 |
committer | The Android Automerger <android-build@android.com> | Thu May 10 18:09:40 2012 -0700 |
tree | b134ff8e6bddf13a2d52e692d1429d7df395c32a | |
parent | e9435395d070c8748cfe8b0c95cb004950435d29 [diff] |
Only set permissions on dirs or files Traversal would mark directories with the correct permissions, but they're visited again in post-order which is a different fts_info flag. Then it would set that to regular file permissions. Explicitly check to make sure we're looking at a file instead. Bug: 6478606 Change-Id: I13cab3e69f451da6a994fa974d575ef366f82025