[LTP] [PATCH] syscalls/chdir01: Add umask before mkdir

Petr Vorel pvorel@suse.cz
Tue Mar 30 15:06:39 CEST 2021


> When uid is nobody, umask is not 022, the test process might
Not sure if I understand "When uid is nobody, umask is not 022",
umask setup depends usually on the system. I wonder which system has different
setup for nobody.

BTW later was posted another solution, see my comments there.

Kind regards,
Petr

[2] https://patchwork.ozlabs.org/project/ltp/patch/20210322091512.103266-1-xieziyao@huawei.com/

> has not permmission to access the file which created by SAFE_MKDIR
> with mode 0755.


More information about the ltp mailing list