Skip to content

Commit 07ec466

Browse files
authored
Merge pull request torvalds#365 from tavip/lkl-364
lkl tools: cptofs: reset umask
2 parents dd857f0 + 083cdee commit 07ec466

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/lkl/cptofs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ int main(int argc, char **argv)
571571
goto out_close;
572572
}
573573

574+
lkl_sys_umask(0);
575+
574576
for (i = 0; i < cla.npaths - 1; i++) {
575577
ret = copy_one(cla.paths[i], mpoint, cla.paths[cla.npaths - 1]);
576578
if (ret)

0 commit comments

Comments
 (0)