Home | History | Annotate | Download | only in genext2fs

Lines Matching defs:perms

212 #define FM_IMASK   0007777	// *all* perms mask for everything below
2253 make_perms(uint32 mode, char perms[11])
2255 strcpy(perms, "----------");
2257 perms[1] = 'r';
2259 perms[2] = 'w';
2261 perms[3] = 'x';
2263 perms[4] = 'r';
2265 perms[5] = 'w';
2267 perms[6] = 'x';
2269 perms[7] = 'r';
2271 perms[8] = 'w';
2273 perms[9] = 'x';
2275 perms[3] = 's';
2277 perms[6] = 's';
2279 perms[9] = 't';
2283 *perms = '0';
2286 *perms = 's';
2289 *perms = 'l';
2292 *perms = '-';
2295 *perms = 'b';
2298 *perms = 'd';
2301 *perms = 'c';
2304 *perms = 'p';
2307 *perms = '?';
2316 char perms[11];
2346 make_perms(get_nod(fs, nod)->i_mode, perms);
2347 printf("%s, size: %d byte%s (%d block%s)\n", perms, plural(get_nod(fs, nod)->i_size), plural(get_nod(fs, nod)->i_blocks / INOBLK));
2497 " -P, --squash-perms Squash permissions on all files.\n"
2498 " -a, --fix-android-stats Fix-up file stats (user, perms, ...)\n"
2556 { "squash-perms", no_argument, NULL, 'P' },
2639 error_msg_and_die("Cannot squash uid/perms and fix them up for Android at the same time.");