From 22abf053cac7995eed17933661b1746253d923e8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 14 Apr 2005 12:09:00 +0000 Subject: [PATCH] Correct typo, fchmod -> fchown, in a comment. --- src/chown-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chown-core.c b/src/chown-core.c index b1ab344539..2d3f40a7cc 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -175,7 +175,7 @@ describe_change (const char *file, enum Change_status changed, FILE and do everything else via the resulting file descriptor. We first call fstat and verify that the dev/inode match those from the preceding stat call, and only then, if appropriate (given the - required_uid and required_gid constraints) do we call fchmod. + required_uid and required_gid constraints) do we call fchown. A minor problem: This function fails when FILE cannot be opened, but chown/lchown have -- 2.47.3