[CRIU] [PATCH] test/zdtm/mountpoints: clear the umask when creating /dev/null

Pavel Emelyanov xemul at parallels.com
Tue Aug 6 06:20:18 EDT 2013


On 08/03/2013 03:30 AM, Yicheng Qin wrote:
> From: Yicheng Qin <yichengq at google.com <mailto:yichengq at google.com>>
> Subject: [PATCH] test/zdtm/mountpoints: clear the umask when creating
>  /dev/null
> 
> Clear the umask when creating /dev/null and restore the umask
> after the creation.
> Mountpoints test unlinks and makes new /dev/null inside by mknod.
> But in some linux, there is default umask, e.g., as 022. It means that
> /dev/null created directly cannot be wrote by group and other users.
> It is not reasonable because /dev/null should be accessable to all
> users.
> 
> Signed-off-by: Yicheng Qin <yichengq at google.com <mailto:yichengq at google.com>>

Applied, thanks


More information about the CRIU mailing list