@@ -1417,6 +1417,7 @@ function update($event_name, $data) {
14171417 //exec('chown -R '.$data['new']['system_user'].':'.$data['new']['system_group'].' '.escapeshellcmd($fastcgi_starter_path));
14181418 $ app ->system ->chown ($ fastcgi_starter_path , $ data ['new ' ]['system_user ' ]);
14191419 $ app ->system ->chgrp ($ fastcgi_starter_path , $ data ['new ' ]['system_group ' ]);
1420+ $ app ->system ->chmod ($ fastcgi_starter_path , 0550 );
14201421
14211422 $ fcgi_tpl = new tpl ();
14221423 $ fcgi_tpl ->newTemplate ('php-fcgi-starter.master ' );
@@ -1459,7 +1460,7 @@ function update($event_name, $data) {
14591460
14601461 $ app ->log ('Creating fastcgi starter script: ' .$ fcgi_starter_script , LOGLEVEL_DEBUG );
14611462
1462- $ app ->system ->chmod ($ fcgi_starter_script , 0755 );
1463+ $ app ->system ->chmod ($ fcgi_starter_script , 0550 );
14631464 $ app ->system ->chown ($ fcgi_starter_script , $ data ['new ' ]['system_user ' ]);
14641465 $ app ->system ->chgrp ($ fcgi_starter_script , $ data ['new ' ]['system_group ' ]);
14651466
@@ -1552,7 +1553,7 @@ function update($event_name, $data) {
15521553 $ app ->system ->mkdirpath ($ cgi_starter_path );
15531554 $ app ->system ->chown ($ cgi_starter_path , $ data ['new ' ]['system_user ' ]);
15541555 $ app ->system ->chgrp ($ cgi_starter_path , $ data ['new ' ]['system_group ' ]);
1555- $ app ->system ->chmod ($ cgi_starter_path , 0755 );
1556+ $ app ->system ->chmod ($ cgi_starter_path , 0550 );
15561557
15571558 $ app ->log ('Creating cgi starter script directory: ' .$ cgi_starter_path , LOGLEVEL_DEBUG );
15581559 }
@@ -1585,7 +1586,7 @@ function update($event_name, $data) {
15851586 $ app ->log ('Creating cgi starter script: ' .$ cgi_starter_script , LOGLEVEL_DEBUG );
15861587
15871588
1588- $ app ->system ->chmod ($ cgi_starter_script , 0755 );
1589+ $ app ->system ->chmod ($ cgi_starter_script , 0550 );
15891590 $ app ->system ->chown ($ cgi_starter_script , $ data ['new ' ]['system_user ' ]);
15901591 $ app ->system ->chgrp ($ cgi_starter_script , $ data ['new ' ]['system_group ' ]);
15911592
0 commit comments