Skip to content

Commit d648786

Browse files
author
janatzend
committed
fix for setting permissions in persistent dir
1 parent 0e5631e commit d648786

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

ZendServer/DepH/Path/Path.php

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

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

186-
$this->shell->exec("chown -R $uid:$gid $dir");
185+
$this->shell->exec("chgrp -R $gid $dir");
187186
$this->shell->exec("chmod -R 0775 $dir");
188187
}
189188
}

ZendServerDeploymentHelper.zpk

3.74 MB
Binary file not shown.

deployment.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<summary>Zend Server Deployment Helper</summary>
66
<description>Zend Server Deployment Helper (DepH) is a Zend Framework 2 based set of classes which supports in creating reliable hook scripts of Zend Server Deployment feature.</description>
77
<version>
8-
<release>1.1.1</release>
8+
<release>1.1.2</release>
99
</version>
1010
<icon>etc/logo.gif</icon>
1111
<eula>LICENSE.txt</eula>

0 commit comments

Comments
 (0)