char v_stamp[ADEDLEN_PRIVSYN];
VolSpace v_limitsize; /* Size limit, if any, in MiB */
mode_t v_umask;
- mode_t v_perm; /* default permission value OR with requested perm*/
mode_t v_dperm; /* default directories permission value OR with requested perm*/
mode_t v_fperm; /* default files permission value OR with requested perm*/
ucs2_t *v_u8mname; /* converted to utf8-mac in ucs2 */
if (val = getoption(obj->iniconfig, section, "file perm", preset))
volume->v_fperm = (int)strtol(val, NULL, 8);
- if (val = getoption(obj->iniconfig, section, "perm", preset))
- volume->v_perm = (int)strtol(val, NULL, 8);
-
if (val = getoption(obj->iniconfig, section, "vol size limit", preset))
volume->v_limitsize = (uint32_t)strtoul(val, NULL, 10);
}
#endif
- volume->v_dperm |= volume->v_perm;
- volume->v_fperm |= volume->v_perm;
-
/* Check EA support on volume */
if (volume->v_vfs_ea == AFPVOL_EA_AUTO || volume->v_adouble == AD_VERSION_EA)
check_ea_support(volume);