Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Application data directory requires permission to create tmp dir… #190

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion application/logallexportthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void LogAllExportThread::run()
QProcess procss;
procss.setWorkingDirectory(tmpPath);
QStringList arg = {"-c"};
arg.append(QString("zip -r tmp.zip ./*;mv tmp.zip '%1';chmod 666 '%2';chmod -R 666 '%3'").arg(m_outfile).arg(m_outfile).arg(Utils::getAppDataPath()));
arg.append(QString("zip -r tmp.zip ./*;mv tmp.zip '%1';chmod 777 '%2';chmod -R 777 '%3'").arg(m_outfile).arg(m_outfile).arg(Utils::getAppDataPath()));
procss.start("/bin/bash", arg);
procss.waitForFinished(-1);
currentProcess += 9;
Expand Down
Loading