# HG changeset patch # User Kim Alvefur # Date 1519951866 -3600 # Node ID 48999871738711d3f7b0947424c01885c18eeaf5 # Parent d5d746e4c453d442ba596fa2c3d4fc4f7ef80669 prosodyctl: Use correct separator in chown call (fixes #1093) diff -r d5d746e4c453 -r 489998717387 prosodyctl --- 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