-- tar-1.24/src/extract.c
++ tar-1.24/src/extract.c
for (;;)
{
status = mkdir (file_name, mode);
status = mkdirat (chdir_fd, file_name, mode);
if (status == 0)
current_mode = mode & ~ current_umask;