Skip to content

Commit 562dd41

Browse files
committed
Don't append umask=0022 if it already exists
1 parent e1ceb05 commit 562dd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ public function configure_apache() {
16931693
if(is_file('/etc/suphp/suphp.conf')) {
16941694
replaceLine('/etc/suphp/suphp.conf', 'php="php:/usr/bin', 'x-httpd-suphp="php:/usr/bin/php-cgi"', 0);
16951695
//replaceLine('/etc/suphp/suphp.conf','docroot=','docroot=/var/clients',0);
1696-
replaceLine('/etc/suphp/suphp.conf', 'umask=0077', 'umask=0022', 0);
1696+
replaceLine('/etc/suphp/suphp.conf', 'umask=00', 'umask=0022', 0);
16971697
}
16981698

16991699
if(is_file('/etc/apache2/sites-enabled/000-default')) {

0 commit comments

Comments
 (0)