Skip to content

Commit f3e2f0f

Browse files
committed
1 parent 710f357 commit f3e2f0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,18 +640,18 @@ public function install_ispconfig()
640640
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
641641

642642
//* Make the global language file directory group writable
643-
exec("chmod -R 660 $install_dir/interface/lib/lang");
643+
exec("chmod -R 770 $install_dir/interface/lib/lang");
644644

645645
//* Make all interface language file directories group writable
646646
$handle = @opendir($install_dir.'/interface/web');
647647
while ($file = @readdir ($handle)) {
648648
if ($file != '.' && $file != '..') {
649649
if(@is_dir($install_dir.'/interface/web'.'/'.$file.'/lib/lang')) {
650650
$handle2 = opendir($install_dir.'/interface/web'.'/'.$file.'/lib/lang');
651-
chmod($install_dir.'/interface/web'.'/'.$file.'/lib/lang',0660);
651+
chmod($install_dir.'/interface/web'.'/'.$file.'/lib/lang',0770);
652652
while ($lang_file = @readdir ($handle2)) {
653653
if ($lang_file != '.' && $lang_file != '..') {
654-
chmod($install_dir.'/interface/web'.'/'.$file.'/lib/lang/'.$lang_file,0660);
654+
chmod($install_dir.'/interface/web'.'/'.$file.'/lib/lang/'.$lang_file,0770);
655655
}
656656
}
657657
}

0 commit comments

Comments
 (0)