From 95466392f9db566aaa64d08fdab3debc4d7cdd84 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 1 Mar 2021 10:31:28 -0500 Subject: [PATCH] Fix typo in confluentdbutil The restore function would fail to chown directories due to typo --- confluent_server/bin/confluentdbutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/bin/confluentdbutil b/confluent_server/bin/confluentdbutil index 884a1b8f..be35e5aa 100755 --- a/confluent_server/bin/confluentdbutil +++ b/confluent_server/bin/confluentdbutil @@ -74,7 +74,7 @@ if args[0] == 'restore': for targdir in os.walk('/etc/confluent'): os.chown(targdir[0], owner, group) for f in targdir[2]: - os.chown(os.patht.join(targdir[0], f), owner, group) + os.chown(os.path.join(targdir[0], f), owner, group) except Exception as e: print(str(e)) sys.exit(1)