commit | 2b314625ab50c6866b11331dcad662c7ac40c05c | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Wed Apr 13 16:38:34 2016 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Tue Jan 31 10:47:15 2017 -0800 |
tree | 2f0b9040bfbde3dcea0ea795445932dd57909b14 | |
parent | 262200a0abcf02a5e65cbcef99355b80c72c7fcf [diff] |
ANDROID: sdcardfs: override umask on mkdir and create The mode on files created on the lower fs should not be affected by the umask of the calling task's fs_struct. Instead, we create a copy and modify it as needed. This also lets us avoid the string shenanigans around .nomedia files. Bug: 27992761 Change-Id: Ia3a6e56c24c6e19b3b01c1827e46403bb71c2f4c Signed-off-by: Daniel Rosenberg <drosen@google.com>