Update launcher/archive/ArchiveWriter.cpp
Co-authored-by: Seth Flynn <getchoo@tuta.io> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
committed by
Trial97
parent
a17908e078
commit
67a5cc9b8d
@@ -104,7 +104,7 @@ bool ArchiveWriter::addFile(const QString& fileName, const QString& fileDest)
|
||||
if (stat(cpath, &st) == 0) {
|
||||
archive_entry_copy_stat(entry, &st);
|
||||
}
|
||||
archive_entry_set_perm(entry, fileInfo.permissions() & 0777);
|
||||
archive_entry_set_perm(entry, fileInfo.permissions());
|
||||
|
||||
if (fileInfo.isSymLink()) {
|
||||
auto target = fileInfo.symLinkTarget().toUtf8();
|
||||
|
||||
Reference in New Issue
Block a user