VirtualBox

Ignore:
Timestamp:
Jul 29, 2010 2:53:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64223
Message:

Shared Folders/VBoxService: Mount in Solaris different folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r31211 r31216  
    260260
    261261                        char *pszMountPoint = NULL;
     262#ifdef RT_OS_SOLARIS
     263                        if (   RTStrAPrintf(&pszMountPoint, "/mnt/sf_%s", pszShareName) > 0
     264#else
    262265                        if (   RTStrAPrintf(&pszMountPoint, "/media/sf_%s", pszShareName) > 0
     266#endif
    263267                            && pszMountPoint)
    264268                        {
    265269                            /* We always use "/media" as our root mounting directory. */
    266                             /** @todo Detect the correct "media" directory, based on the current guest (?). */
    267                             RTFMODE fMode = 0777;
     270                            /** @todo Detect the correct "media/mnt" directory, based on the current guest (?). */
     271                            RTFMODE fMode = 0700;
    268272                            rc = RTDirCreateFullPath(pszMountPoint, fMode);
    269273                            if (RT_SUCCESS(rc))
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