Lines Matching defs:mode
206 * Change mode of file preserving existing explicit ACEs
211 * leaving 0 ACEs in the ACL if there were only trivial ACEs as mapped from the mode
212 * (3) calls chmod() with mode, we're done if step (1) returned 0 for noaces
220 int nfsv4_chmod(char *name, mode_t mode)
227 getcwdpath(), name, mode);
230 return chmod(name, mode);
235 if (chmod(name, mode) != 0) /* (3) */
274 getcwdpath(), name, mode, ret);
296 int posix_chmod(const char *name, mode_t mode) {
305 LOG(log_maxdebug, logtype_afpd, "posix_chmod: %s mode: 0x%08x", name, mode);
310 ret = chmod(name, mode);
362 if (mode & S_IXGRP)
365 if (mode & S_IWGRP)
368 if (mode & S_IRGRP)
403 int posix_fchmod(int fd, mode_t mode) {
415 ret = fchmod(fd, mode);
467 if (mode & S_IXGRP)
470 if (mode & S_IWGRP)
473 if (mode & S_IRGRP)