Skip to content
Browse files

Issue #730 - fixed 64bit slave (skeleton.zip always zero) when creati…

…ng domain
  • Loading branch information...
1 parent 39d8f28 commit 6abce69afe8564be5dfec22c6fe44f7ccceb6d73 mustafaramadhan committed Nov 20, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 kloxo/httpdocs/lib/domain/web/weblib.php
View
9 kloxo/httpdocs/lib/domain/web/weblib.php
@@ -826,12 +826,15 @@ function createDir()
system("find {$user_home} -type d -exec chmod 755 {} \;");
*/
- lxfile_generic_chown($user_home, "{$this->username}:apache");
- lxfile_generic_chown("__path_customer_root/$this->customer_name", "{$this->username}:apache");
+ // MR --- consistence with fix-chownchmod script --> ownership client:client
+ // fixed 64bit slave (skeleton.zip always zero)
+
+ lxfile_generic_chown($user_home, "{$this->username}:{$this->username}");
+ lxfile_generic_chown("__path_customer_root/$this->customer_name", "{$this->username}:{$this->username}");
lxfile_generic_chmod("__path_customer_root/$this->customer_name", "750");
lxfile_generic_chown($log_path1, "apache:apache");
lxfile_generic_chmod($log_path1, "770");
- lxfile_generic_chown("$web_home/{$this->nname}", "{$this->username}:apache");
+ lxfile_generic_chown("$web_home/{$this->nname}", "{$this->username}:{$this->username}");
if (!lxfile_exists("$web_home/{$this->nname}/httpdocs")) {
//lxfile_mkdir("$sgbl->__path_customer_root/$this->customer_name/domain/$this->nname");

0 comments on commit 6abce69

Please sign in to comment.
Something went wrong with that request. Please try again.