diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-30 13:43:14 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-30 13:43:14 -0500 |
commit | 64840d4a66d791967bec1b2dbc0b18d0d8590d01 (patch) | |
tree | 27005daf6b05d075b106972c5a0eb7298b17ae93 /src-qt5 | |
parent | Unify the icons used for battery indications within the start menu and batter... (diff) | |
download | lumina-64840d4a66d791967bec1b2dbc0b18d0d8590d01.tar.gz lumina-64840d4a66d791967bec1b2dbc0b18d0d8590d01.tar.bz2 lumina-64840d4a66d791967bec1b2dbc0b18d0d8590d01.zip |
Fix up the permissions of extracted files via lumina-archiver.
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp | 2 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/lumina-archiver.desktop | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp index 919a6813..ddfd9d52 100644 --- a/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp +++ b/src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp @@ -127,7 +127,7 @@ void Backend::startRemove(QStringList paths){ void Backend::startExtract(QString path, bool overwrite, QString file){ QStringList args; - args << "-x"; + args << "-x" << "--no-same-owner"; if(!overwrite){ args << "-k"; } args << flags; if(!file.isEmpty()){ args << "--include" << file << "--strip-components" << QString::number(file.count("/")); } diff --git a/src-qt5/desktop-utils/lumina-archiver/lumina-archiver.desktop b/src-qt5/desktop-utils/lumina-archiver/lumina-archiver.desktop index 4eea58c5..b0259aed 100644 --- a/src-qt5/desktop-utils/lumina-archiver/lumina-archiver.desktop +++ b/src-qt5/desktop-utils/lumina-archiver/lumina-archiver.desktop @@ -5,6 +5,6 @@ Terminal=false Type=Application StartupNotify=true Categories=Utility; -MimeType=application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/x-bzip-compressed-tar;application/x-tar;application/x-compressed-tar;application/zip; +MimeType=application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/x-bzip-compressed-tar;application/x-tar;application/x-compressed-tar;application/zip;application/gzip;application/bzip Name=Lumina Archiver Comment=Archive creator and viewer |