D28007: libarchive backend: display permissions in octal format
Aleksei Nikiforov
noreply at phabricator.kde.org
Thu Mar 12 11:54:13 GMT 2020
alnikiforov created this revision.
alnikiforov added reviewers: Ark, elvisangelaccio.
Herald added a subscriber: kde-utils-devel.
Herald added a project: Ark.
alnikiforov requested review of this revision.
REVISION SUMMARY
Currently when libarchive backend is used to read archive, permissions are displayed in decimal format. But a lot of userspace tools show and use permissions either in text format or in octal number format for convenience, not in a decimal number format.
TEST PLAN
Open an archive which ark uses libarchive for opening. For example, https://github.com/KDE/ark/archive/v19.12.3.tar.gz
For directories permissions should be displayed as '40775' instead of '16893'.
For non-executable files permissions should be displayed as '100664' instead of '33204'.
REPOSITORY
R36 Ark
REVISION DETAIL
https://phabricator.kde.org/D28007
AFFECTED FILES
plugins/libarchive/libarchiveplugin.cpp
To: alnikiforov, #ark, elvisangelaccio
Cc: kde-utils-devel, fbampaloukas, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20200312/a8c1d2f3/attachment.html>
More information about the Kde-utils-devel
mailing list