Lines Matching refs:mode
36 * If -m is used with a valid mode, directories will be
37 * created in that mode. Otherwise, the default mode will
38 * be 777 possibly altered by the process's file mode creation
58 #define MSGUSAGE "usage: mkdir [-m mode] [-p] dirname ...\n"
83 mode_t mode;
101 mode = ALLRWX;
107 mode = newmode(optarg, ALLRWX, cur_umask, "", "");
123 * intermediate mode be at least -wx------,
208 * get the file mode for the newly
212 * mode creation for the last directory
219 * mode, oring in the 02000 bit.
234 tmpmode = mode | (buf.st_mode & 02000);
254 if (mkdir(d, mode) < 0) {
263 tmpmode = mode | (buf.st_mode & 02000);