summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/perms-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/perms-hook.c b/util/perms-hook.c
index d2afbaa8..ef1bf447 100644
--- a/util/perms-hook.c
+++ b/util/perms-hook.c
@@ -149,7 +149,7 @@ static int
chmod_v(const char *path, mode_t mode)
{
printf("chmod(\"%s\", %#o)\n", path, mode);
- return fchmodat(rootfd, path, mode, AT_SYMLINK_NOFOLLOW);
+ return fchmodat(rootfd, path, mode, 0);
}
static int