Open pawel-sz opened 1 year ago
/vendor/josegonzalez/cakephp-upload/src/File/Writer/DefaultWriter.php linie 185, this change fix problem:
if ($adapter instanceof FilesystemAdapter) {
return new Filesystem($adapter, Hash::get($settings, 'filesystem.options', [
'visibility' => Visibility::PUBLIC,
'directory_visibility' => Visibility::PUBLIC, //this line fix issue
]));
}
It creates files, but created dir 'filename_dir' has only 700 permissions
for example. this 6117de6f-dee3-4d1c-b38b-ceee9a8f8534 folder has 700 permission