commit | eb0f43947c692b2524a20462a722415f465b4b5a | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Wed Apr 13 16:38:34 2016 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Jul 22 21:58:22 2018 +0200 |
tree | 4f0624b3a9b754cf54d695d694aa5409aed979b5 | |
parent | e6355f1842a77b620540dc1597b90d2affe72463 [diff] |
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> Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>