Skip to content

Commit 97b556d

Browse files
author
Till Brehm
committed
Changed web folder permissions in nginx setups from 711 to 751 to avoid (false) permissions warnings in log files.
1 parent 0ccfef0 commit 97b556d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/nginx_plugin.inc.php

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

710710
$app->system->chmod($data['new']['document_root'], 0755);
711-
$app->system->chmod($data['new']['document_root'].'/web', 0711);
711+
$app->system->chmod($data['new']['document_root'].'/web', 0751);
712712
//$app->system->chmod($data['new']['document_root'].'/webdav',0710);
713713
$app->system->chmod($data['new']['document_root'].'/private', 0710);
714714
$app->system->chmod($data['new']['document_root'].'/ssl', 0755);

0 commit comments

Comments
 (0)