aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-06 01:45:58 +0100
committerKim Alvefur <zash@zash.se>2018-03-06 01:45:58 +0100
commit3a3a5f55eb92b38f9fa4470d74090cabfa44df27 (patch)
treeb9780166d9f854ccf1a7d840f8f6b01f4e6628c1 /prosodyctl
parent181caccc86df9d4a87b0a76a7d599dbdadc16483 (diff)
parentbde433b14c7b4880a4325ba27ef1e2dfafada426 (diff)
downloadprosody-3a3a5f55eb92b38f9fa4470d74090cabfa44df27.tar.gz
prosody-3a3a5f55eb92b38f9fa4470d74090cabfa44df27.zip
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 947316a6..63dfbd65 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -866,7 +866,7 @@ local function copy(from, to, umask, owner, group)
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