DescriptionRevert of Allow POSIX callers to specify a new file's mode. (patchset #1 id:1 of https://codereview.chromium.org/689713006/)
Reason for revert:
This seems to have broken the Linux MSan test bot.
[ RUN ] FileUtilTest.WriteFileWithMode
../../base/files/file_util_unittest.cc:2164: Failure
Value of: status.st_mode & 0777
Actual: 384
Expected: mode
Which is: 420
[ FAILED ] FileUtilTest.WriteFileWithMode (1 ms)
Original issue's description:
> Allow POSIX callers to specify a new file's mode.
>
> Retain the tight 0640 mode for most existing callers, but honor the user's
> umask for downloaded files.
>
> This is a re-land of https://codereview.chromium.org/639253004/.
>
> BUG=409416, 362887
> TBR=asanka,mdempsky,rvargas
>
> Committed: https://crrev.com/931e35070097af9837f79ff19f8668e45b92ed3a
> Cr-Commit-Position: refs/heads/master@{#302113}
TBR=palmer@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=409416, 362887
Committed: https://crrev.com/8db8e88e009aba7fd5448383df2a4645802d19af
Cr-Commit-Position: refs/heads/master@{#302143}
Patch Set 1 #
Created: 6 years, 1 month ago
(Patch set is too large to download)
Messages
Total messages: 4 (0 generated)
|