This commit is contained in:
Jamie Cameron
2016-01-14 22:29:07 -08:00
parent be4cf27e12
commit 5000eddb37

View File

@@ -205,6 +205,11 @@ foreach $s (@run) {
else {
push(@errs, [ $f, "Copy was incomplete" ]);
}
# Preserve file permissions
&remote_foreign_call($s->{'host'}, "webmin",
"set_ownership_permissions", $st[4], $st[5],
$st[2] & 0777, $dest);
}
# Run the post command on remote