tout(cct) << relpath << std::endl;
tout(cct) << mode << std::endl;
- UserPerm perms = pick_my_perms();
+ UserPerm perms(get_uid(), get_gid());
//get through existing parts of path
filepath path(relpath);
string name = path.last_dentry();
path.pop_dentry();
InodeRef dir;
- UserPerm perms = pick_my_perms();
+ UserPerm perms(get_uid(), get_gid());
int r = path_walk(path, &dir, perms);
if (r < 0)
return r;
string name = path.last_dentry();
path.pop_dentry();
InodeRef dir;
- UserPerm perms = pick_my_perms();
+ UserPerm perms(get_uid(), get_gid());
int r = path_walk(path, &dir, perms);
if (r < 0)
return r;
string name = path.last_dentry();
path.pop_dentry();
InodeRef dir;
- UserPerm perms = pick_my_perms();
+ UserPerm perms(get_uid(), get_gid());
int r = path_walk(path, &dir, perms);
if (r < 0)
return r;