Skip to content

Commit bc41f97

Browse files
author
redray
committed
chomod now recursive
1 parent fb15d61 commit bc41f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function update($event_name,$data) {
330330
exec("cp /usr/local/ispconfig/server/conf/error/".substr(escapeshellcmd($conf["language"]),0,2)."/* ".$error_page_path);
331331
}
332332
}
333-
exec("chmod -R +r ".$error_page_path);
333+
exec("chmod -R a+r ".$error_page_path);
334334
}
335335

336336
// copy the standard index page
@@ -348,7 +348,7 @@ function update($event_name,$data) {
348348
exec("cp /usr/local/ispconfig/server/conf/index/.htaccess ".escapeshellcmd($data["new"]["document_root"])."/web/");
349349
}
350350
}
351-
exec("chmod +r ".escapeshellcmd($data["new"]["document_root"])."/web");
351+
exec("chmod -R a+r ".escapeshellcmd($data["new"]["document_root"])."/web/");
352352
}
353353

354354
// Create group and user, if not exist

0 commit comments

Comments
 (0)