diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-10-18 10:58:27 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-10-18 10:58:27 +0000 |
commit | b912fe73eec0437f905cc1b17d992e2b70ef76ef (patch) | |
tree | 2032b5480ef2c02a40f649b57f8c49d9ab9c3308 | |
parent | 31f495febd04a1ae5fedd27f3e243ae02762d7c5 (diff) |
Notes
-rw-r--r-- | bin/ls/print.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c index 8ca40e2ba574..6578b93aff7a 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -628,9 +628,10 @@ aclmode(char *buf, const FTSENT *p, int *haveacls) p->fts_parent->fts_accpath, p->fts_name); /* * We have no way to tell whether a symbolic link has an ACL since - * pathconf() and acl_get_file() both follow them. + * pathconf() and acl_get_file() both follow them. They also don't + * support whiteouts. */ - if (S_ISLNK(p->fts_statp->st_mode)) { + if (S_ISLNK(p->fts_statp->st_mode) || S_ISWHT(p->fts_statp->st_mode)) { *haveacls = 1; return; } |