Skip to content
Snippets Groups Projects
Commit bc41f971 authored by redray's avatar redray
Browse files

chomod now recursive

parent fb15d610
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment