Lines Matching defs:uid
51 mkmount(register Cs_t* state, int mode, int uid, int gid, char* endserv, char* endhost, char* endtype)
84 if (mode != (S_IRWXU|S_IRWXG|S_IRWXO) && (uid >= 0 || gid >= 0 && (mode |= S_ISGID)) && (chown(state->mount, uid, gid) || chmod(state->mount, mode)))
622 int uid = -1;
866 if ((uid = struid(s)) < 0)
868 uid = strtol(s, &t, 0);
875 if (n && uid != n)
882 uid = n;
1085 if (uid >= 0)
1086 b += sfsprintf(b, sizeof(state->mount) - (b - path), "%d-", uid);
1124 if ((op & CS_OPEN_CREATE) && mkmount(state, mode, uid, gid, endserv, endhost, endtype))
1261 if (uid >= 0 && st.st_uid != uid || gid >= 0 && st.st_gid != gid)
1265 messagef((state->id, NiL, -1, "open: %s: %s: uid/gid error", state->path, path));