Modify CopyFileUnsafe() on OSX to stop copying ACL.

This makes CopyFile() and CopyDirectory() behavior consistent on OSX to the
other platforms. Stop copying the ACL on the files copied. This means the
destination file will inherit from the umask or inherited ACL from the
destination parent directory, which is sane.

This matches what is done on linux. This will fixes unit tests that copy files
from a read only directory into a temporary directory so they can be safely be
modified, otherwise the file acl would have to be modified everytime. While
base_unittests didn't care, it blew up disk cache tests in net_unittests.

R=thakis@chromium.org
BUG=116251,335420

Review URL: https://codereview.chromium.org/132183007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249258 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed