Changeset 39072 in vbox for trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vfs.c
- Timestamp:
- Oct 21, 2011 10:21:11 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vfs.c
r39062 r39072 310 310 */ 311 311 if (vfs_optionisset(vfsp, "dmode", &optval) && 312 ddi_strtol(optval, NULL, 10, &val) == 0 &&312 ddi_strtol(optval, NULL, 8, &val) == 0 && 313 313 (mode_t)val == val) 314 314 dmode = val; … … 318 318 */ 319 319 if (vfs_optionisset(vfsp, "fmode", &optval) && 320 ddi_strtol(optval, NULL, 10, &val) == 0 &&320 ddi_strtol(optval, NULL, 8, &val) == 0 && 321 321 (mode_t)val == val) 322 322 fmode = val; … … 326 326 */ 327 327 if (vfs_optionisset(vfsp, "dmask", &optval) && 328 ddi_strtol(optval, NULL, 10, &val) == 0 &&328 ddi_strtol(optval, NULL, 8, &val) == 0 && 329 329 (mode_t)val == val) 330 330 dmask = val; … … 334 334 */ 335 335 if (vfs_optionisset(vfsp, "fmask", &optval) && 336 ddi_strtol(optval, NULL, 10, &val) == 0 &&336 ddi_strtol(optval, NULL, 8, &val) == 0 && 337 337 (mode_t)val == val) 338 338 fmask = val; 339 340 /* 341 * umask to use for all directories & files 342 */ 343 if (vfs_optionisset(vfsp, "umask", &optval) && 344 ddi_strtol(optval, NULL, 8, &val) == 0 && 345 (mode_t)val == val) 346 dmask = fmask = val; 339 347 340 348 /*
Note:
See TracChangeset
for help on using the changeset viewer.