You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I'm using the Assetc's FilesystemCache also but there is no umask fix, so I wonder if it will be good to provide that fix within the AssetManager or I have to handle it by myself. I think it's kind of a common issue, but maybe there is a better solution I dont' know.
class FilesystemCache extends \Assetic\Cache\FilesystemCache
{
/**
* {@inheritdoc}
*/
public function set($key, $value)
{
$umask = umask(0);
parent::set($key, $value);
umask($umask);
}
}
The text was updated successfully, but these errors were encountered:
I went through their issues and they recommend to set umask on a system level, but I don't think that is the best option. Anyways I'm using asset manager only for a development so I noticed this package is using umask to fix that behaviour so I assumed it will be nice ho have it here. But if this is not a case I will leave that fix in my development package.
Hi, the umask is used to set right file permissions of cached files in the FilePathCache
AssetManager/src/AssetManager/Cache/FilePathCache.php
Line 74 in fed0e5c
The text was updated successfully, but these errors were encountered: