X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract_image.c;h=e1096647ae5cd7e7346361c0d29abdc6e7deae7e;hp=0d83a182c6d042fa2ffec32cf898a0ec10b58bfa;hb=8529a40e7eda47fff2ddd01e5903d38d2f8bf766;hpb=db9a61d62db87df4228ad3e6f3fcef1f5a4e14bc diff --git a/src/extract_image.c b/src/extract_image.c index 0d83a182..e1096647 100644 --- a/src/extract_image.c +++ b/src/extract_image.c @@ -567,7 +567,9 @@ maybe_apply_dentry(struct wim_dentry *dentry, void *arg) return 0; if (args->extract_flags & WIMLIB_EXTRACT_FLAG_NO_STREAMS) - if (inode_unnamed_lte_resolved(dentry->d_inode)) + if (inode_unnamed_lte_resolved(dentry->d_inode) && + !(dentry->d_inode->i_attributes & (FILE_ATTRIBUTE_DIRECTORY | + FILE_ATTRIBUTE_ENCRYPTED))) return 0; if ((args->extract_flags & WIMLIB_EXTRACT_FLAG_VERBOSE) &&