Permission denied when extracting children of read-only directories
Currently, folder attributes are applied immediately before writing its children (and then reapplied later to fix mtime). Consequently, if the extracted folder is read-only, extraction of its children fails with Permissions denied
. See also: #3 (closed). The folder attributes have to be probably applied only once after writing its children to prevent this issue.