Skip to content

Commit 7c37edb

Browse files
author
Till Brehm
committed
Changed mode of web folder from 0710 to 0711 to make it comaptibe with servers that use NFS for /var/www.
1 parent 85204d6 commit 7c37edb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ function update($event_name, $data) {
689689
if($web_config['security_level'] == 20) {
690690

691691
$app->system->chmod($data['new']['document_root'], 0755);
692-
$app->system->chmod($data['new']['document_root'].'/web', 0710);
692+
$app->system->chmod($data['new']['document_root'].'/web', 0711);
693693
$app->system->chmod($data['new']['document_root'].'/webdav', 0710);
694694
$app->system->chmod($data['new']['document_root'].'/private', 0710);
695695
$app->system->chmod($data['new']['document_root'].'/ssl', 0755);

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ function update($event_name, $data) {
693693
if($web_config['security_level'] == 20) {
694694

695695
$app->system->chmod($data['new']['document_root'], 0755);
696-
$app->system->chmod($data['new']['document_root'].'/web', 0710);
696+
$app->system->chmod($data['new']['document_root'].'/web', 0711);
697697
//$app->system->chmod($data['new']['document_root'].'/webdav',0710);
698698
$app->system->chmod($data['new']['document_root'].'/private', 0710);
699699
$app->system->chmod($data['new']['document_root'].'/ssl', 0755);

0 commit comments

Comments
 (0)