Temporary solution for #609. Allow read permission added to group All on
storageRoot folder in install phase.
This commit is contained in:
parent
f181ea7515
commit
f858f935c2
1 changed files with 8 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.41 $
|
Version : $Revision: 1.42 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -52,7 +52,7 @@ require_once "Transport.php";
|
||||||
* Core of LiveSupport file storage module
|
* Core of LiveSupport file storage module
|
||||||
*
|
*
|
||||||
* @author $Author: tomas $
|
* @author $Author: tomas $
|
||||||
* @version $Revision: 1.41 $
|
* @version $Revision: 1.42 $
|
||||||
* @see Alib
|
* @see Alib
|
||||||
*/
|
*/
|
||||||
class BasicStor extends Alib{
|
class BasicStor extends Alib{
|
||||||
|
@ -1344,8 +1344,12 @@ class BasicStor extends Alib{
|
||||||
if(!$this->config['isArchive']){
|
if(!$this->config['isArchive']){
|
||||||
$stPrefGr = parent::addSubj($this->config['StationPrefsGr']);
|
$stPrefGr = parent::addSubj($this->config['StationPrefsGr']);
|
||||||
$this->addSubj2Gr('root', $this->config['StationPrefsGr']);
|
$this->addSubj2Gr('root', $this->config['StationPrefsGr']);
|
||||||
$stPrefGr = parent::addSubj($this->config['AllGr']);
|
$allid = $stPrefGr = parent::addSubj($this->config['AllGr']);
|
||||||
$this->addSubj2Gr('root', $this->config['AllGr']);
|
if($this->dbc->isError($allid)) return $allid;
|
||||||
|
$r = $this->addSubj2Gr('root', $this->config['AllGr']);
|
||||||
|
if($this->dbc->isError($r)) return $r;
|
||||||
|
$r = $res = $this->addPerm($allid, 'read', $this->rootId, 'A');
|
||||||
|
if($this->dbc->isError($r)) return $r;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue