Skip to content

Commit

Permalink
Merge pull request torvalds#365 from tavip/lkl-364
Browse files Browse the repository at this point in the history
lkl tools: cptofs: reset umask
  • Loading branch information
tavip authored Aug 9, 2017
2 parents dd857f0 + 083cdee commit 07ec466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/lkl/cptofs.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,8 @@ int main(int argc, char **argv)
goto out_close;
}

lkl_sys_umask(0);

for (i = 0; i < cla.npaths - 1; i++) {
ret = copy_one(cla.paths[i], mpoint, cla.paths[cla.npaths - 1]);
if (ret)
Expand Down

0 comments on commit 07ec466

Please sign in to comment.