summaryrefslogtreecommitdiff
blob: 5ca7971d23cab72d965bed73c5ab68027a285fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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