mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Set the default umask automatically upon install
This commit is contained in:
parent
f0e6b818af
commit
63b6ac9e37
4 changed files with 12 additions and 7 deletions
|
|
@ -333,16 +333,16 @@ class StorageTest extends \Codeception\TestCase\Test
|
|||
{
|
||||
if (get_current_user() === exec('whoami'))
|
||||
{
|
||||
$this->assertEquals(0022, $umask);
|
||||
$this->assertEquals('0022', $umask);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->assertEquals(0, $umask);
|
||||
$this->assertEquals('0000', $umask);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->assertEquals(0, $umask);
|
||||
$this->assertEquals('0000', $umask);
|
||||
}
|
||||
|
||||
$this->assertFalse(file_exists(\RX_BASEDIR . 'files/cache/uidcheck'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue