Create files readable by grp and oth in base::PlatformFile for posix.
Main motivation for this is webkit's createFile. While creating files with permission 0600 is not an issue on other platforms, on ChromeOs FileBrowser may access external filesystem, so it makes sense to create files with permission 0644. Further more creating files with mode 0600 on ChromeOS external fielsystem may cause some problems with zip file support (see bug). Note this is M16 release blocker... BUG=chromium-os:22263 TEST=linux_chromeos trybots verified copying files in FileBrowser on ChromeOs creates files with permission 644 Review URL: http://codereview.chromium.org/8590020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110740 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment