From f3dab068fce37270e5e4e1a00e5a44e30f00baf7 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sun, 2 May 2021 16:00:07 -0400 Subject: Recommit everything, add chpass, improve history (except for a few files that git-filter-repo dislikes for some reason [_secure_path.c and login_cap.h]) --- pw/cpdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw/cpdir.c') diff --git a/pw/cpdir.c b/pw/cpdir.c index 4e6ca88..7686e0f 100644 --- a/pw/cpdir.c +++ b/pw/cpdir.c @@ -60,7 +60,7 @@ copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, } fchownat(rootfd, dir, uid, gid, AT_SYMLINK_NOFOLLOW); if (flags > 0) - chflagsat(rootfd, dir, flags, AT_SYMLINK_NOFOLLOW); + lchflags(dir, flags); if (skelfd == -1) return; -- cgit v1.2.3