]> wimlib.net Git - wimlib/blobdiff - src/extract.c
extract.c: Warn when UNIX metadata is not being extracted
[wimlib] / src / extract.c
index 138623b630da38bfb86331c932132d8a94f8073e..a6b8d9ef057e450227cc76a2822e779be74c56e8 100644 (file)
@@ -1134,6 +1134,13 @@ do_feature_check(const struct wim_features *required_features,
                return WIMLIB_ERR_UNSUPPORTED;
        }
 
+       if (required_features->unix_data &&
+           !(extract_flags & WIMLIB_EXTRACT_FLAG_UNIX_DATA))
+       {
+               WARNING("Ignoring UNIX metadata of %lu files",
+                       required_features->unix_data);
+       }
+
        /* DOS Names.  */
        if (required_features->short_names &&
            !supported_features->short_names)