VirtualBox

Changeset 23196 in vbox


Ignore:
Timestamp:
Sep 21, 2009 3:27:33 PM (15 years ago)
Author:
vboxsync
Message:

Linux shared folders: missing bit from r52613 (need to open the file writable when attempting to changing it's size)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r23189 r23196  
    298298                           | SHFL_CF_ACT_FAIL_IF_NEW
    299299                           | SHFL_CF_ACCESS_ATTR_WRITE;
     300
     301        /* this is at least required for Posix hosts */
     302        if (iattr->ia_valid & ATTR_SIZE)
     303            params.CreateFlags |= SHFL_CF_ACCESS_WRITE;
    300304
    301305        rc = vboxCallCreate (&client_handle, &sf_g->map, sf_i->path, &params);
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