diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-02 01:51:06 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-02 01:51:06 +0100 |
commit | 2fb3edf0947ff1a19121525c8e9b75ab62839abe (patch) | |
tree | 133fe8d98a69df9d7b05e4df03ac91ba274a8368 /prosodyctl | |
parent | dd59d232700502fc2e432cd863ca86e7265ee0e8 (diff) | |
download | prosody-2fb3edf0947ff1a19121525c8e9b75ab62839abe.tar.gz prosody-2fb3edf0947ff1a19121525c8e9b75ab62839abe.zip |
prosodyctl: Use correct separator in chown call (fixes #1093)
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -868,7 +868,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 |