ID 384194 - Mari is overwriting a Read Only file when archiving a project

Follow

Problem summary
Mari is overwriting a Read Only file when archiving a project without any warnings on Linux and OSX


Customer reported version

3.3v1


Customer reported platform
rhel7


Steps to reproduce


1) Make an archive a Read Only using the file permissions on Linux and OSX

2) Open Mari

3) Choose the example project archive and right click>Archive

4) Choose the Read Only archive for Mari to overwrite

result: Mari does not give any warnings and overwrites the archive


Workaround
Unknown.


Reproduced by support
This bug has been reproduced in:

4.2v2 - CentOS7

3.4v4 - CentOS7 - OSX 10.12.6

3.3v1 - CentOS7

2.6v5 - CentOS7


Unable to reproduce bug in:
4.2v2 - Windows 10


Earliest version tested
2.6v5 - This issue appears to be in all versions of the product

Expected behaviour
Mari should not overwrite a read only file without any warnings


Actual behaviour

Mari does not give any warnings and overwrites the archive



    We're sorry to hear that

    Please tell us why