VirtualBox

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


Ignore:
Timestamp:
Dec 14, 2011 2:19:55 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75392
Message:

IPRT/*: add _NO_SYMLINKS flags to certain functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp

    r38636 r39612  
    356356    ObjInfo.Attr.fMode &= ~(RTFS_UNIX_IWOTH | RTFS_UNIX_IWGRP);
    357357
    358     rc = RTDirCreate(pszDstDirName, ObjInfo.Attr.fMode);
     358    rc = RTDirCreate(pszDstDirName, ObjInfo.Attr.fMode, 0);
    359359    if (RT_FAILURE(rc))
    360360        return RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to create directory '%s': %Rrc", pszDstDirName, rc);
     
    703703     * If all checks out correctly, rename it to the final directory.
    704704     */
    705     RTDirCreate(pszBaseDir, 0755);
     705    RTDirCreate(pszBaseDir, 0755, 0);
    706706#ifndef RT_OS_WINDOWS
    707707    /*
     
    714714    /** @todo Ownership tricks on windows? */
    715715#endif
    716     rc = RTDirCreate(szTmpPath, 0700);
     716    rc = RTDirCreate(szTmpPath, 0700, 0);
    717717    if (RT_FAILURE(rc))
    718718        return RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to create temporary directory: %Rrc ('%s')", rc, szTmpPath);
Note: See TracChangeset for help on using the changeset viewer.

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