Changeset 70726 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Jan 24, 2018 1:58:10 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120473
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r69753 r70726 1526 1526 #ifndef RT_OS_WINDOWS 1527 1527 /* Don't allow the guest to clear the own bit, otherwise the guest wouldn't be 1528 * able to access this file anymore. Only for guests, which set the UNIX mode. */ 1528 * able to access this file anymore. Only for guests, which set the UNIX mode. 1529 * Also, clear bits which we don't pass through for security reasons. */ 1529 1530 if (fMode & RTFS_UNIX_MASK) 1531 { 1530 1532 fMode |= RTFS_UNIX_IRUSR; 1533 fMode &= ~(RTFS_UNIX_ISUID | RTFS_UNIX_ISGID | RTFS_UNIX_ISTXT); 1534 } 1531 1535 #endif 1532 1536
Note:
See TracChangeset
for help on using the changeset viewer.