Explicitly chmod() for compatibility.
am: 46ed6f4bd6
* commit '46ed6f4bd6d28a1319a90eb7c58dca5c20b36670':
Explicitly chmod() for compatibility.
This commit is contained in:
@@ -492,6 +492,7 @@ class ContextImpl extends Context {
|
||||
if (!file.exists()) {
|
||||
try {
|
||||
Os.mkdir(file.getAbsolutePath(), 0771);
|
||||
Os.chmod(file.getAbsolutePath(), 0771);
|
||||
} catch (ErrnoException e) {
|
||||
if (e.errno == OsConstants.EEXIST) {
|
||||
// We must have raced with someone; that's okay
|
||||
|
||||
Reference in New Issue
Block a user