Make sure autoreply permissions are correct

This commit is contained in:
Jamie Cameron
2008-01-27 19:50:34 +00:00
parent 6c568aa060
commit b840d21f40

View File

@@ -27,6 +27,7 @@ if (&get_product_name() eq 'usermin') {
local @cst = stat($autoreply_cmd);
if (!@cst || $cst[7] != $rst[7]) {
&copy_source_dest($autoreply_src, $autoreply_cmd);
&set_ownership_permissions(undef, undef, 0755, $autoreply_cmd);
}
&switch_to_remote_user();