Changeset 78205 in vbox for trunk/src/VBox
- Timestamp:
- Apr 18, 2019 12:03:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/fs.cpp
r77233 r78205 87 87 fMode = (fMode & ~RTFS_TYPE_MASK) | RTFS_TYPE_SYMLINK; 88 88 89 /* writable? */ 90 if (!(fMode & RTFS_DOS_READONLY)) 89 /* 90 * Writable? 91 * 92 * Note! We ignore the read-only flag on directories as windows seems to 93 * use it for purposes other than writability (@ticketref{18345}): 94 * https://support.microsoft.com/en-gb/help/326549/you-cannot-view-or-change-the-read-only-or-the-system-attributes-of-fo 95 * 96 */ 97 if ((fMode & (RTFS_DOS_DIRECTORY | RTFS_DOS_READONLY)) != RTFS_DOS_READONLY) 91 98 fMode |= RTFS_UNIX_IWUSR | RTFS_UNIX_IWGRP | RTFS_UNIX_IWOTH; 92 99 return fMode;
Note:
See TracChangeset
for help on using the changeset viewer.