Lines Matching refs:gid
402 int32_t gid = p->fts_statp->st_gid; in calculate_tree_size() local
404 int32_t user_gid = multiuser_get_app_id(gid); in calculate_tree_size()
412 if (include_gid != -1 && gid != include_gid) { in calculate_tree_size()
415 if (exclude_gid != -1 && gid == exclude_gid) { in calculate_tree_size()
961 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs() local
965 return fs_prepare_dir(path.c_str(), 0750, uid, gid); in ensure_config_user_dirs()
1000 uid_t uid, gid_t gid) { in prepare_app_cache_dir() argument
1006 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir()
1024 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir()
1030 << "/" << actual_mode << " but expected " << gid << "/" << target_mode; in prepare_app_cache_dir()
1050 if (chown(p->fts_path, -1, gid) != 0) { in prepare_app_cache_dir()
1056 if (lchown(p->fts_path, -1, gid) != 0) { in prepare_app_cache_dir()