mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-05 04:17:52 +00:00
Added chacking cache dir perms at starting(2).
This commit is contained in:
parent
ce66430fac
commit
97b8b34aab
@ -558,10 +558,9 @@ int mkdirp(const string& path, mode_t mode)
|
|||||||
return EPERM;
|
return EPERM;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
int result;
|
if(0 != mkdir(base.c_str(), mode)){
|
||||||
if(0 != (result = mkdir(base.c_str(), mode))){
|
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user