VirtualBox

Ignore:
Timestamp:
Feb 10, 2021 3:40:48 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142731
Message:

Main: bugref:9224: Testcase: fixed "permission error" during target directory creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageRawDrive1.py

    r87683 r87689  
    11521152        asHddData = self.asHdds[sHdd];
    11531153        fRc = True;
    1154         try:    oGuestSession.directoryCreate(self.sVMDKPath, 777, (vboxcon.DirectoryCreateFlag_Parents,));
     1154        try:    oGuestSession.directoryCreate(self.sVMDKPath, 0o777, (vboxcon.DirectoryCreateFlag_Parents,));
    11551155        except: fRc = reporter.errorXcpt('Create directory for VMDK files failed in the VM %s' % (self.sVmName));
    11561156        if fRc:
     
    15691569        # pylint: disable=line-too-long
    15701570        self.asTestVmClasses = {
    1571             'win'     : tdStorageRawDriveOsWin(oSet, self, self.ksOsWindows, 'Windows7_64', \
    1572                              '6.0/windows7piglit/windows7piglit.vdi', eNic0Type = None, cMbRam = 2048,  \
    1573                              cCpus = 2, fPae = True, sGuestAdditionsIso = self.getGuestAdditionsIso(),
    1574                              sBootSector = self.ksBootSectorPath),
     1571            'win'     : None, #tdStorageRawDriveOsWin(oSet, self, self.ksOsWindows, 'Windows7_64', \
     1572                             #'6.0/windows7piglit/windows7piglit.vdi', eNic0Type = None, cMbRam = 2048,  \
     1573                             #cCpus = 2, fPae = True, sGuestAdditionsIso = self.getGuestAdditionsIso(),
     1574                             #sBootSector = self.ksBootSectorPath),
    15751575            'linux'   : tdStorageRawDriveOsLinux(oSet, self, self.ksOsLinux, 'Ubuntu_64', \
    15761576                               '6.0/ub1804piglit/ub1804piglit.vdi', eNic0Type = None, \
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