Changeset 39926 in vbox
- Timestamp:
- Jan 31, 2012 8:45:46 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/com.cpp
r30632 r39926 206 206 if (RT_SUCCESS(vrc)) 207 207 if (!RTDirExists(aDir)) 208 vrc = RTDirCreateFullPath(aDir, 07 77);208 vrc = RTDirCreateFullPath(aDir, 0700); 209 209 } 210 210 -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r39720 r39926 2662 2662 if (!RTDirExists(dir.c_str())) 2663 2663 { 2664 int vrc = RTDirCreateFullPath(dir.c_str(), 07 77);2664 int vrc = RTDirCreateFullPath(dir.c_str(), 0700); 2665 2665 if (RT_FAILURE(vrc)) 2666 2666 { … … 6005 6005 Assert(logDir.length()); 6006 6006 if (!RTDirExists(logDir.c_str())) 6007 RTDirCreateFullPath(logDir.c_str(), 07 77);6007 RTDirCreateFullPath(logDir.c_str(), 0700); 6008 6008 6009 6009 Utf8Str logFile = Utf8StrFmt("%s%cVBox.log", … … 6497 6497 * Try create the directory. 6498 6498 */ 6499 vrc = RTDirCreateFullPath(pszDumpDir, 07 77);6499 vrc = RTDirCreateFullPath(pszDumpDir, 0700); 6500 6500 if (RT_FAILURE(vrc)) 6501 6501 throw setError(E_FAIL, "Failed to setup CoreDumper. Couldn't create dump directory '%s' (%Rrc)\n", pszDumpDir, vrc); -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r39821 r39926 8637 8637 if (!RTDirExists(path.c_str())) 8638 8638 { 8639 vrc = RTDirCreateFullPath(path.c_str(), 07 77);8639 vrc = RTDirCreateFullPath(path.c_str(), 0700); 8640 8640 if (RT_FAILURE(vrc)) 8641 8641 { -
trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp
r38764 r39926 1286 1286 && !RTDirExists(strTrgSnapshotFolder.c_str())) 1287 1287 { 1288 int vrc = RTDirCreateFullPath(strTrgSnapshotFolder.c_str(), 07 77);1288 int vrc = RTDirCreateFullPath(strTrgSnapshotFolder.c_str(), 0700); 1289 1289 if (RT_FAILURE(vrc)) 1290 1290 throw p->setError(VBOX_E_IPRT_ERROR, -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r39248 r39926 3914 3914 if (fCreate) 3915 3915 { 3916 int vrc = RTDirCreateFullPath(strDir.c_str(), 07 77);3916 int vrc = RTDirCreateFullPath(strDir.c_str(), 0700); 3917 3917 if (RT_FAILURE(vrc)) 3918 3918 return setErrorStatic(VBOX_E_IPRT_ERROR, -
trunk/src/libs/xpcom18a4/xpcom/components/nsComponentManager.cpp
r3175 r39926 1421 1421 1422 1422 PRFileDesc* fd = nsnull; 1423 nsresult rv = localFile->OpenNSPRFileDesc(PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 06 66, &fd);1423 nsresult rv = localFile->OpenNSPRFileDesc(PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0600, &fd); 1424 1424 if (NS_FAILED(rv)) 1425 1425 return rv; -
trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileUnix.cpp
r1 r39926 590 590 if (!targetExists) { 591 591 // XXX create the new directory with some permissions 592 rv = newParent->Create(DIRECTORY_TYPE, 07 55);592 rv = newParent->Create(DIRECTORY_TYPE, 0700); 593 593 if (NS_FAILED(rv)) 594 594 return rv; -
trunk/src/libs/xpcom18a4/xpcom/obsolete/nsFileSpecUnix.cpp
r1 r39926 110 110 if (inMakeDirs) 111 111 { 112 const mode_t mode = 07 55;112 const mode_t mode = 0700; 113 113 nsFileSpecHelpers::MakeAllDirectories((const char*)ioPath, mode); 114 114 } -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/xptiManifest.cpp
r32717 r39926 145 145 if(NS_FAILED(tempFile-> 146 146 OpenNSPRFileDesc(PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 147 06 66, &fd)) || !fd)147 0600, &fd)) || !fd) 148 148 { 149 149 goto out; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/xptiMisc.cpp
r1 r39926 86 86 OpenNSPRFileDesc(PR_WRONLY | PR_CREATE_FILE | PR_APPEND | 87 87 (append ? 0 : PR_TRUNCATE), 88 06 66, &fd)) && fd)88 0600, &fd)) && fd) 89 89 { 90 90 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.