common_util: call chown on existing directory in MkDirP
In the MkDirP function, if the directory already exists, call
chown with current user and group to fix the ownerships of the
directory and its subfiles.
BUG=chromium:438814
TEST=Manually tested
Change-Id: Ifc41431e11c1d8ffe871df3138b2e41f70dbb469
Reviewed-on: https://chromium-review.googlesource.com/232522
Reviewed-by: Yu-Ju Hong <yjhong@chromium.org>
Tested-by: Yiming Chen <yimingc@chromium.org>
Commit-Queue: Yiming Chen <yimingc@chromium.org>
1 file changed