Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 7 of 7) sorted by relevance

/coreutils/tests/mkdir/
Dperm.sh72 perms=$(stat --printf %A parent)
73 test "$parent_perms" = "$perms" \
74 || { fail=1; echo parent: expected $parent_perms, got $perms; }
76 perms=$(stat --printf %A parent/sub)
77 test "$sub_perms" = "$perms" \
78 || { fail=1; echo parent/sub: expected $sub_perms, got $perms; }
/coreutils/src/
Dchmod.c150 char perms[12]; /* "-rwxrwxrwx" ls-style modes. */ in describe_change() local
174 strmode (ch->new_mode, perms); in describe_change()
175 perms[10] = '\0'; /* Remove trailing space. */ in describe_change()
190 printf (fmt, quoted_file, m, &perms[1]); in describe_change()
195 printf (fmt, quoted_file, old_m, &old_perms[1], m, &perms[1]); in describe_change()
Ddd.c2469 mode_t perms = MODE_RW_UGO; in main() local
2490 || ifd_reopen (STDOUT_FILENO, output_file, O_RDWR | opts, perms) < 0) in main()
2491 && (ifd_reopen (STDOUT_FILENO, output_file, O_WRONLY | opts, perms) in main()
Dcopy.c1991 char perms[12]; /* "-rwxrwxrwx " ls-style modes. */ in overwrite_ok() local
1992 strmode (dst_sb->st_mode, perms); in overwrite_ok()
1993 perms[10] = '\0'; in overwrite_ok()
2001 &perms[1]); in overwrite_ok()
/coreutils/tests/
Dinit.sh356 perms=`ls -dgo "$d" 2>/dev/null` &&
357 case $perms in drwx--[-S]---*) :;; *) false;; esac && {
/coreutils/
Dinit.cfg685 perms=$(stat --printf %A $setgid_tmpdir)
687 case $perms in
733 perms=$(ls -l file1 file2 | sed 's/ .*//' | uniq)
736 case $perms in
/coreutils/doc/
Dperm.texi149 @r{[}ugoa@dots{}@r{][}-+=@r{]}@var{perms}@dots{}@r{[},@dots{}@r{]}
153 where @var{perms} is either zero or more letters from the set