DescriptionModify 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249258
Patch Set 1 #Patch Set 2 : Rebase on 141273010 #Patch Set 3 : Rebase on ToT #
Messages
Total messages: 9 (0 generated)
|