2.3.1.md

doc/release_notes/2.3.1.md
Last Update: 2023-07-30 18:26:06 +0200

title: Shrine 2.3.1

Regressions

  • The previous version introduced explicit default permissions for created files and directories in FileSystem storage. However, the current behaviour was applying directory permissions to the directory the storage is initialized with. This would raise a Errno::EPERM exception for directories for which the permissions cannot be changed, for example Dir.tmpdir. This is now changed; when FileSystem storage is now initialized with a directory, the permissions won’t be changed if this directory already exists.