VirtualBox

Ignore:
Timestamp:
Mar 30, 2019 1:51:18 AM (6 years ago)
Author:
vboxsync
Message:

linux/vboxsf: Don't set timestamps when changing the file size (open+O_TRUNC; ftrunctate), save a host call. Don't interpret setting mtime or changing the file size as a host file modification. [fix] bugref:9172

File:
1 edited

Legend:

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

    r77961 r77962  
    889889                    /* Fill in the attributes.  Start by setting all to zero
    890890                       since the host will ignore zeroed fields. */
     891                    RT_ZERO(pReq->Info.ObjInfo);
     892
    891893                    if (fAttrs & ATTR_MODE) {
    892894                        pReq->Info.ObjInfo.Attr.fMode = sf_access_permissions_to_vbox(iattr->ia_mode);
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