_dir_vxattrs_name_size = _vxattrs_calcu_name_size(_dir_vxattrs);
_file_vxattrs_name_size = _vxattrs_calcu_name_size(_file_vxattrs);
- user_id = cct->_conf->client_user_id;
- group_id = cct->_conf->client_group_id;
+ user_id = cct->_conf->client_mount_uid;
+ group_id = cct->_conf->client_mount_gid;
lru.lru_set_max(cct->_conf->client_cache_size);
lru.lru_set_midpoint(cct->_conf->client_cache_mid);
MetaRequest *req = new MetaRequest(CEPH_MDS_OP_GETATTR);
req->set_filepath(fp);
req->head.args.getattr.mask = CEPH_STAT_CAP_INODE_ALL;
- int res = make_request(req, cct->_conf->client_mount_uid, cct->_conf->client_mount_gid);
+ int res = make_request(req, -1, -1);
if (res < 0) {
if (res == -EACCES && root) {
ldout(cct, 1) << __func__ << " EACCES on parent of mount point; quotas may not work" << dendl;
OPTION(fuse_multithreaded, OPT_BOOL, true)
OPTION(fuse_require_active_mds, OPT_BOOL, true) // if ceph_fuse requires active mds server
-OPTION(client_user_id, OPT_INT, -1)
-OPTION(client_group_id, OPT_INT, -1)
OPTION(client_try_dentry_invalidate, OPT_BOOL, true) // the client should try to use dentry invaldation instead of remounting, on kernels it believes that will work for
OPTION(client_die_on_failed_remount, OPT_BOOL, true)
OPTION(client_check_pool_perm, OPT_BOOL, true)