Commit bc41f971 authored by redray's avatar redray
Browse files

chomod now recursive

parent fb15d610
......@@ -330,7 +330,7 @@ class apache2_plugin {
exec("cp /usr/local/ispconfig/server/conf/error/".substr(escapeshellcmd($conf["language"]),0,2)."/* ".$error_page_path);
}
}
exec("chmod -R +r ".$error_page_path);
exec("chmod -R a+r ".$error_page_path);
}
// copy the standard index page
......@@ -348,7 +348,7 @@ class apache2_plugin {
exec("cp /usr/local/ispconfig/server/conf/index/.htaccess ".escapeshellcmd($data["new"]["document_root"])."/web/");
}
}
exec("chmod +r ".escapeshellcmd($data["new"]["document_root"])."/web");
exec("chmod -R a+r ".escapeshellcmd($data["new"]["document_root"])."/web/");
}
// Create group and user, if not exist
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment