diff options
author | Alexander Pyhalov <apyhalov@gmail.com> | 2019-02-20 15:00:28 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2019-03-07 10:02:42 -0500 |
commit | 8f5edf1f887948e6be5982cbe7f196909927af91 (patch) | |
tree | 32118e9a612d6e3fdf70230623d5f103f27be7da /usr/src/cmd/ksh/builtins/alias.c | |
parent | 0fa1b3cc784fb6db7999ec330ee54256171c1143 (diff) | |
download | illumos-joyent-8f5edf1f887948e6be5982cbe7f196909927af91.tar.gz |
10417 recursive chown should not traverse any symbolic links by default
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/ksh/builtins/alias.c')
-rw-r--r-- | usr/src/cmd/ksh/builtins/alias.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/ksh/builtins/alias.c b/usr/src/cmd/ksh/builtins/alias.c index a17e2dabd1..88edbc1e9b 100644 --- a/usr/src/cmd/ksh/builtins/alias.c +++ b/usr/src/cmd/ksh/builtins/alias.c @@ -68,9 +68,7 @@ bfastpathrec fastpath_builtins[] = /* This list must be alphabetically sorted for |strcmp()| usage */ { "basename", b_basename }, { "cat", b_cat }, - { "chgrp", b_chgrp }, { "chmod", b_chmod }, - { "chown", b_chown }, #ifdef ENABLE_PERFORMANCE_PARADOXON { "cksum", b_cksum }, #endif /* ENABLE_PERFORMANCE_PARADOXON */ @@ -98,7 +96,7 @@ bfastpathrec fastpath_builtins[] = { "mkfifo", b_mkfifo }, { "mktemp", b_mktemp }, { "mv", b_mv }, - { "paste", b_paste }, + { "paste", b_paste }, { "pathchk", b_pathchk }, { "pids", b_pids }, { "readlink", b_readlink }, @@ -119,7 +117,7 @@ bfastpathrec fastpath_builtins[] = { "uniq", b_uniq }, { "wc", b_wc }, { "xgrep", b_xgrep }, - { NULL, (int (*)(int, char **, void *))NULL } + { NULL, (int (*)(int, char **, void *))NULL } }; static inline |