VirtualBox

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


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

be more restrictive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
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