mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge remote-tracking branch 'origin/topic/vlad/gh-1145'
* origin/topic/vlad/gh-1145: Have mkdir in ensure_dir respect umask.
This commit is contained in:
commit
b232474fce
3 changed files with 8 additions and 2 deletions
6
CHANGES
6
CHANGES
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
3.3.0-dev.202 | 2020-08-26 10:59:59 -0700
|
||||||
|
|
||||||
|
* GH-1145: Have mkdir in ensure_dir respect umask. (Vlad Grigorescu)
|
||||||
|
|
||||||
|
This also aligns with the mkdir BIF.
|
||||||
|
|
||||||
3.3.0-dev.200 | 2020-08-25 19:47:02 -0700
|
3.3.0-dev.200 | 2020-08-25 19:47:02 -0700
|
||||||
|
|
||||||
* Update plugin btests for namespace changes (Tim Wojtulewicz, Corelight)
|
* Update plugin btests for namespace changes (Tim Wojtulewicz, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
3.3.0-dev.200
|
3.3.0-dev.202
|
||||||
|
|
|
@ -317,7 +317,7 @@ bool ensure_intermediate_dirs(const char* dirname)
|
||||||
|
|
||||||
bool ensure_dir(const char *dirname)
|
bool ensure_dir(const char *dirname)
|
||||||
{
|
{
|
||||||
if ( mkdir(dirname, 0700) == 0 )
|
if ( mkdir(dirname, 0777) == 0 )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
auto mkdir_errno = errno;
|
auto mkdir_errno = errno;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue