File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -710,7 +710,7 @@ function update($event_name, $data) {
710710 $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/ssl ' , 0755 );
711711
712712 // make tmp directory writable for Apache and the website users
713- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0777 );
713+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0770 );
714714
715715 // Set Log directory to 755 to make the logs accessible by the FTP user
716716 if (realpath ($ data ['new ' ]['document_root ' ].'/ ' .$ log_folder . '/error.log ' ) == '/var/log/ispconfig/httpd/ ' .$ data ['new ' ]['domain ' ].'/error.log ' ) {
@@ -770,7 +770,7 @@ function update($event_name, $data) {
770770 $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/cgi-bin ' , 0755 );
771771
772772 // make temp directory writable for Apache and the website users
773- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0777 );
773+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0770 );
774774
775775 // Set Log directory to 755 to make the logs accessible by the FTP user
776776 if (realpath ($ data ['new ' ]['document_root ' ].'/ ' .$ log_folder . '/error.log ' ) == '/var/log/ispconfig/httpd/ ' .$ data ['new ' ]['domain ' ].'/error.log ' ) {
Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ function update($event_name, $data) {
714714 $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/ssl ' , 0755 );
715715
716716 // make tmp directory writable for nginx and the website users
717- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0777 );
717+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0770 );
718718
719719 // Set Log directory to 755 to make the logs accessible by the FTP user
720720 if (realpath ($ data ['new ' ]['document_root ' ].'/ ' .$ log_folder . '/error.log ' ) == '/var/log/ispconfig/httpd/ ' .$ data ['new ' ]['domain ' ].'/error.log ' ) {
@@ -774,7 +774,7 @@ function update($event_name, $data) {
774774 $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/cgi-bin ' , 0755 );
775775
776776 // make temp directory writable for nginx and the website users
777- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0777 );
777+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/tmp ' , 0770 );
778778
779779 // Set Log directory to 755 to make the logs accessible by the FTP user
780780 if (realpath ($ data ['new ' ]['document_root ' ].'/ ' .$ log_folder . '/error.log ' ) == '/var/log/ispconfig/httpd/ ' .$ data ['new ' ]['domain ' ].'/error.log ' ) {
You can’t perform that action at this time.
0 commit comments