Skip to content

Commit 9c1464d

Browse files
author
janatzend
committed
using Web Server GID instead of 'zend'
1 parent ff3caba commit 9c1464d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ZendServer/DepH/Path/Path.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ public function createWriteableDir($dir) {
181181
$this->shell->exec("mkdir -p $dir");
182182

183183
$gid = $this->params->getWebserverGid();
184+
$uid = $this->params->getWebserverUid();
184185

185-
$this->shell->exec("chown -R zend:$gid $dir");
186+
$this->shell->exec("chown -R $uid:$gid $dir");
186187
$this->shell->exec("chmod -R 0775 $dir");
187188
}
188189
}

0 commit comments

Comments
 (0)