VirtualBox

Changeset 39926 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 31, 2012 8:45:46 PM (13 years ago)
Author:
vboxsync
Message:

be more restrictive

Location:
trunk/src/VBox/Main
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/com.cpp

    r30632 r39926  
    206206        if (RT_SUCCESS(vrc))
    207207            if (!RTDirExists(aDir))
    208                 vrc = RTDirCreateFullPath(aDir, 0777);
     208                vrc = RTDirCreateFullPath(aDir, 0700);
    209209    }
    210210
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r39720 r39926  
    26622662            if (!RTDirExists(dir.c_str()))
    26632663            {
    2664                 int vrc = RTDirCreateFullPath(dir.c_str(), 0777);
     2664                int vrc = RTDirCreateFullPath(dir.c_str(), 0700);
    26652665                if (RT_FAILURE(vrc))
    26662666                {
     
    60056005    Assert(logDir.length());
    60066006    if (!RTDirExists(logDir.c_str()))
    6007         RTDirCreateFullPath(logDir.c_str(), 0777);
     6007        RTDirCreateFullPath(logDir.c_str(), 0700);
    60086008
    60096009    Utf8Str logFile = Utf8StrFmt("%s%cVBox.log",
     
    64976497                 * Try create the directory.
    64986498                 */
    6499                 vrc = RTDirCreateFullPath(pszDumpDir, 0777);
     6499                vrc = RTDirCreateFullPath(pszDumpDir, 0700);
    65006500                if (RT_FAILURE(vrc))
    65016501                    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  
    86378637        if (!RTDirExists(path.c_str()))
    86388638        {
    8639             vrc = RTDirCreateFullPath(path.c_str(), 0777);
     8639            vrc = RTDirCreateFullPath(path.c_str(), 0700);
    86408640            if (RT_FAILURE(vrc))
    86418641            {
  • trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp

    r38764 r39926  
    12861286            && !RTDirExists(strTrgSnapshotFolder.c_str()))
    12871287        {
    1288             int vrc = RTDirCreateFullPath(strTrgSnapshotFolder.c_str(), 0777);
     1288            int vrc = RTDirCreateFullPath(strTrgSnapshotFolder.c_str(), 0700);
    12891289            if (RT_FAILURE(vrc))
    12901290                throw p->setError(VBOX_E_IPRT_ERROR,
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r39248 r39926  
    39143914        if (fCreate)
    39153915        {
    3916             int vrc = RTDirCreateFullPath(strDir.c_str(), 0777);
     3916            int vrc = RTDirCreateFullPath(strDir.c_str(), 0700);
    39173917            if (RT_FAILURE(vrc))
    39183918                return setErrorStatic(VBOX_E_IPRT_ERROR,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette