Commit ec7920d6 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

flatpak: follow the umask recommended by flatpak upstream


BUG: 407115
parent b2a35f5a
......@@ -59,6 +59,8 @@
#include <glib.h>
#include <QRegularExpression>
#include <sys/stat.h>
QDebug operator<<(QDebug debug, const FlatpakResource::Id& id)
......@@ -106,6 +108,15 @@ FlatpakBackend::FlatpakBackend(QObject* parent)
connect(, &OdrsReviewsBackend::ratingsReady, this, &FlatpakBackend::announceRatingsReady);
/* Override the umask to 022 to make it possible to share files between
* the plasma-discover process and flatpak system helper process.
* Ideally this should be set when needed in the flatpak plugin, but
* umask is thread-unsafe so there is really no local way to fix this.
* See
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment