Closed stwZiemer closed 1 year ago
You are correct, it should throw AccessDeniedException
I just released 2.5.0 which contains a fix.
Thank you very much! We’ve found many bugs thanks to your memory file system.
Von: Philippe Marschall @.> Gesendet: Dienstag, 7. Februar 2023 07:09 An: marschall/memoryfilesystem @.> Cc: Weidmann Stefano @.>; Author @.> Betreff: Re: [marschall/memoryfilesystem] MemoryFileSystem::newOutputFileStream does not check the path it opens for write permissions (Issue #138)
I just released 2.5.0 which contains a fix.
— Reply to this email directly, view it on GitHubhttps://github.com/marschall/memoryfilesystem/issues/138#issuecomment-1420250015, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ3Y5KF524IT4TDEWO4JE3LWWHRJTANCNFSM6AAAAAAS46XWI4. You are receiving this because you authored the thread.Message ID: @.***>
That's great to hear.
I think that
MemoryFileSystem::newOutputFileStream
does not check the path it opens for write permissions. I can reproduce the issue in the test class below. Is there something I'm missing?I used the most current version (2.4.0)