Changeset 78860 in vbox for trunk/src/VBox/Additions/linux/sharedfolders/utils.c
- Timestamp:
- May 29, 2019 8:21:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r77966 r78860 801 801 802 802 /* 803 * Need to check whether the caller is allowed to modify the attributes or not. 803 * Do minimal attribute permission checks. We set ATTR_FORCE since we cannot 804 * preserve ownership and such and would end up with EPERM here more often than 805 * we would like. For instance it would cause 'cp' to complain about EPERM 806 * from futimes() when asked to preserve times, see ticketref:18569. 804 807 */ 808 iattr->ia_valid |= ATTR_FORCE; 805 809 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) 806 810 rc = setattr_prepare(dentry, iattr);
Note:
See TracChangeset
for help on using the changeset viewer.