Changeset 5259 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Oct 12, 2007 10:00:47 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r4860 r5259 50 50 | SHFL_CF_DIRECTORY 51 51 | SHFL_CF_ACT_OPEN_IF_EXISTS 52 | SHFL_CF_ACT_FAIL_IF_NEW 52 53 | SHFL_CF_ACCESS_READ 53 54 ; … … 387 388 params.CreateFlags = 0 388 389 | SHFL_CF_ACT_CREATE_IF_NEW 389 | SHFL_CF_ACT_ OVERWRITE_IF_EXISTS390 | SHFL_CF_ACT_FAIL_IF_EXISTS 390 391 | SHFL_CF_ACCESS_READWRITE 391 392 | (dirop ? SHFL_CF_DIRECTORY : 0) -
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r4860 r5259 221 221 if (file->f_flags & O_TRUNC) { 222 222 LogFunc(("O_TRUNC set\n")); 223 params.CreateFlags |= SHFL_CF_ACT_OVERWRITE_IF_EXISTS; 223 params.CreateFlags |= ( SHFL_CF_ACT_OVERWRITE_IF_EXISTS 224 | SHFL_CF_ACCESS_WRITE); 224 225 } 225 226 else { … … 231 232 if (file->f_flags & O_TRUNC) { 232 233 LogFunc(("O_TRUNC set\n")); 233 params.CreateFlags |= SHFL_CF_ACT_OVERWRITE_IF_EXISTS; 234 params.CreateFlags |= ( SHFL_CF_ACT_OVERWRITE_IF_EXISTS 235 | SHFL_CF_ACCESS_WRITE); 234 236 } 235 237 }
Note:
See TracChangeset
for help on using the changeset viewer.