File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -339,10 +339,11 @@ function _add_jailkit_user()
339339
340340 if (!is_dir ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome )) {
341341 $ app ->system ->mkdir ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome , 0750 , true );
342- $ app ->system ->chown ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome , $ this ->parent_domain ['system_user ' ]);
343- $ app ->system ->chgrp ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome , $ this ->parent_domain ['system_group ' ]);
344342 }
345343
344+ $ app ->system ->chown ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome , $ this ->parent_domain ['system_user ' ]);
345+ $ app ->system ->chgrp ($ this ->parent_domain ['document_root ' ].$ jailkit_chroot_userhome , $ this ->parent_domain ['system_group ' ]);
346+
346347 }
347348
348349 function _get_home_dir ($ username )
You can’t perform that action at this time.
0 commit comments