diff options
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r-- | chmod_chown_chgrp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c index 4fc9869..9714e1c 100644 --- a/chmod_chown_chgrp.c +++ b/chmod_chown_chgrp.c @@ -49,6 +49,7 @@ static int fileAction(const char *fileName, struct stat *statbuf, void* junk) switch (whichApp) { case CHGRP_APP: case CHOWN_APP: + /* Don't use lchown for libc5 or glibc older then 2.1.x */ #if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) if (lchown (fileName, (whichApp == CHOWN_APP) ? uid : statbuf->st_uid, |