0

I am going to port an X11 GUI (running as root) written in Qt5 to a native wayland GUI and Wayland does not support GUI apps running as root for security reasons.

Since it is a backup app the user must be able to select even non-user paths and files (e.g. owned by root) to be contained in the backup/restore (after privilege escalation and asking for the root password).

How can I allow a non-root wayland GUI to show all files in a file system (even those that are only visible to root)?

Note: Technically I want to use the usual QFileDialog of Qt5...

R Yoda
  • 8,358
  • 2
  • 50
  • 87

0 Answers0