Set permissions properly after copying or moving a custom file

This commit is contained in:
Kijin Sung 2025-06-28 10:20:16 +09:00
parent 9e453fe102
commit 6df4d38e04

View file

@ -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
{