Changeset 18593 in vbox for trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
- Timestamp:
- Apr 1, 2009 11:55:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r18128 r18593 563 563 { 564 564 fOpen |= RTFILE_O_ACCESS_ATTR_DEFAULT; 565 /** @todo for posix guests we should allow passing the mode. */ 566 fOpen |= 0666 << RTFILE_O_CREATE_MODE_SHIFT; 565 567 Log(("FLAG: SHFL_CF_ACCESS_ATTR_NONE\n")); 566 568 break; … … 570 572 { 571 573 fOpen |= RTFILE_O_ACCESS_ATTR_READ; 574 /** @todo for posix guests we should allow passing the mode. 575 * Additionally this esoteric case - new file with only read 576 * access - should be tested with apps depending on this. */ 577 fOpen |= 0444 << RTFILE_O_CREATE_MODE_SHIFT; 572 578 Log(("FLAG: SHFL_CF_ACCESS_ATTR_READ\n")); 573 579 break; … … 577 583 { 578 584 fOpen |= RTFILE_O_ACCESS_ATTR_WRITE; 585 /** @todo for posix guests we should allow passing the mode. 586 * Additionally this esoteric case - new file with only write 587 * access - should be tested with apps depending on this. */ 588 fOpen |= 0222 << RTFILE_O_CREATE_MODE_SHIFT; 579 589 Log(("FLAG: SHFL_CF_ACCESS_ATTR_WRITE\n")); 580 590 break; … … 584 594 { 585 595 fOpen |= RTFILE_O_ACCESS_ATTR_READWRITE; 596 /** @todo for posix guests we should allow passing the mode. */ 597 fOpen |= 0666 << RTFILE_O_CREATE_MODE_SHIFT; 586 598 Log(("FLAG: SHFL_CF_ACCESS_ATTR_READWRITE\n")); 587 599 break;
Note:
See TracChangeset
for help on using the changeset viewer.