We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27a08f5 + 9ccc8a1 commit a85b468Copy full SHA for a85b468
samples/features/sqlvdi-linux/vdipipesample.cpp
@@ -45,6 +45,8 @@
45
#include <string>
46
#include <unistd.h>
47
#include <uuid/uuid.h>
48
+#include <sys/types.h>
49
+#include <sys/stat.h>
50
51
#include "vdi.h" // interface declaration
52
#include "vdierror.h" // error constants
@@ -131,7 +133,8 @@ int main(int argc, char* argv[])
131
133
"Demonstrate a Backup or Restore using the Virtual Device Interface\n");
132
134
return 1;
135
}
-
136
+
137
+ umask(0);
138
vds = new ClientVirtualDeviceSet();
139
140
// Setup the VDI configuration we want to use.
0 commit comments