mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Set permissions properly after copying or moving a custom file
This commit is contained in:
parent
9e453fe102
commit
6df4d38e04
1 changed files with 2 additions and 0 deletions
|
|
@ -560,6 +560,7 @@ class Storage
|
|||
return false;
|
||||
}
|
||||
}
|
||||
chmod($destination, 0666 & ~self::getUmask());
|
||||
}
|
||||
elseif ($type === 'move')
|
||||
{
|
||||
|
|
@ -570,6 +571,7 @@ class Storage
|
|||
return false;
|
||||
}
|
||||
}
|
||||
chmod($destination, 0666 & ~self::getUmask());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue