prosodyctl
changeset 8563 489998717387
parent 8422 57610304e30d
child 8564 7b9ffddc4276
child 8884 a0de4fc4acd5
--- a/prosodyctl	Sat Feb 24 19:40:18 2018 +0100
+++ b/prosodyctl	Fri Mar 02 01:51:06 2018 +0100
@@ -868,7 +868,7 @@
 	assert(input:close());
 	assert(output:close());
 	if owner and group then
-		local ok = os.execute(("chown %s.%s %s"):format(sh_esc(owner), sh_esc(group), sh_esc(to)));
+		local ok = os.execute(("chown %s:%s %s"):format(sh_esc(owner), sh_esc(group), sh_esc(to)));
 		assert(ok == true or ok == 0, "Failed to change ownership of "..to);
 	end
 	if old_umask then pposix.umask(old_umask); end