diff -urwb partimage-0.6.4.orig/src/shared/access.cpp partimage-0.6.4/src/shared/access.cpp --- partimage-0.6.4.orig/src/shared/access.cpp 2004-02-03 16:57:36.000000000 -0800 +++ partimage-0.6.4/src/shared/access.cpp 2004-05-13 21:38:38.000000000 -0700 @@ -323,12 +323,14 @@ return 1; } mode = status.st_mode; + /* if (!S_ISREG(mode)) { help(szFile); showDebug(0, "file %s is not a regular file\n", szFile); return 1; } + */ /* if (status.st_uid != 0 || status.st_gid != 0) { @@ -337,7 +339,7 @@ return 1; } */ - + /* if (mode != (S_IFREG | S_IRUSR | S_IWUSR)) { help(szFile); @@ -346,7 +348,7 @@ showDebug(0, "it's %o, see stat manpage for help\n"); return 1; } - + */ return 0; } #else // HAVE_PAM