+ /* "cd /" here is for virt-v2v. It's cwd might not be accessible by
+ * the current user (because it sometimes sets its own uid) and the
+ * "find" command works by changing directory then changing back to
+ * the cwd. This results in a warning:
+ *
+ * find: failed to restore initial working directory: Permission denied
+ *
+ * Note this only works because "modpath" and temporary "dir" are
+ * currently guaranteed to be absolute paths, hence assertion.
+ */
+ assert (modpath[0] == '/');
+ sprintf (cmd, "cd / ; find '%s' ", modpath);