Skip to content

Commit 698a4d4

Browse files
committed
Updated permissions for secure mode.
1 parent 47e00f9 commit 698a4d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

interface/lib/config.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
//** Application
4646
define('ISPC_APP_TITLE', 'ISPConfig');
47-
define('ISPC_APP_VERSION', '3.0.0.9');
47+
define('ISPC_APP_VERSION', '3.0.1.4');
4848

4949

5050
//** Database

server/plugins-available/apache2_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ function update($event_name,$data) {
472472
// If the security level is set to high
473473
if($web_config['security_level'] == 20) {
474474

475-
exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"]."/"));
476-
exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"])."/*");
475+
exec("chmod 751 ".escapeshellcmd($data["new"]["document_root"]."/"));
476+
exec("chmod 751 ".escapeshellcmd($data["new"]["document_root"])."/*");
477477
exec("chmod 710 ".escapeshellcmd($data["new"]["document_root"]."/web"));
478478

479479
// make temp direcory writable for the apache user and the website user

0 commit comments

Comments
 (0)