Diffusion Ark 6f0e4ead6f33

Allow extraction of read-only archives

Authored by elvisangelaccio on Oct 17 2016, 9:34 PM.

Description

Allow extraction of read-only archives

Currently we use KFileItemListProperties::supportsWriting() to check whether a folder
is read-write and can be used as extract destination, but this function returns
false if the archive is read-only. A read-only archive can still be extracted,
so we need to implement our own check for the writability of parent folders.

BUG: 370948
FIXED-IN: 16.08.3

Differential Revision: D3074

Details

Committed
elvisangelaccioOct 17 2016, 9:34 PM
Differential Revision
D3074: Allow extraction of read-only archives
Parents
R36:33c5874b39a1: Stop crashing when batch extracting invalid archives
Branches
Unknown
Tags
Unknown