I’m in the same boat. It appears that plex-desktop is unable to access my home directory and therefore the --no-sandbox does work around the issue, but this is crazy. I shouldn’t have to run it this way. I despise snaps as it is, but plex should be allowing more interaction with the desktop than this.
I wanted to add though that my directory is within the /home directory structure. This is what i am seeing utilizing a trace function.
strace -z -tt -e trace=open,openat -f plex-desktop
10:59:46.969995 openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
10:59:46.970762 openat(AT_FDCWD, “/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
10:59:46.975736 openat(AT_FDCWD, “/proc/self/maps”, O_RDONLY|O_CLOEXEC) = 3
10:59:46.977184 openat(AT_FDCWD, “/sys/kernel/mm/transparent_hugepage/hpage_pmd_size”, O_RDONLY) = 3
strace: Process 14534 attached
strace: Process 14535 attached
strace: Process 14536 attached
strace: Process 14537 attached
strace: Process 14538 attached
[pid 14533] 10:59:46.990514 openat(AT_FDCWD, “/etc/os-release”, O_RDONLY|O_CLOEXEC) = 3
[pid 14533] 10:59:46.996576 openat(AT_FDCWD, “/proc/cgroups”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.000150 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.001795 openat(AT_FDCWD, “/proc/cmdline”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.002056 openat(AT_FDCWD, “/snap/snapd/current/usr/lib/snapd/info”, O_RDONLY|O_CLOEXEC) = 7
[pid 14538] 10:59:47.002436 +++ exited with 0 +++
[pid 14537] 10:59:47.002446 +++ exited with 0 +++
[pid 14536] 10:59:47.002453 +++ exited with 0 +++
[pid 14535] 10:59:47.002459 +++ exited with 0 +++
[pid 14534] 10:59:47.002466 +++ exited with 0 +++
10:59:47.004238 openat(AT_FDCWD, “/snap/snapd/current/usr/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
10:59:47.007005 openat(AT_FDCWD, “/sys/kernel/mm/transparent_hugepage/hpage_pmd_size”, O_RDONLY) = 3
strace: Process 14539 attached
strace: Process 14540 attached
strace: Process 14541 attached
strace: Process 14542 attached
strace: Process 14543 attached
[pid 14533] 10:59:47.013306 openat(AT_FDCWD, “/etc/os-release”, O_RDONLY|O_CLOEXEC) = 3
[pid 14533] 10:59:47.014696 openat(AT_FDCWD, “/usr/lib/snapd/info”, O_RDONLY|O_CLOEXEC) = 7
strace: Process 14544 attached
strace: Process 14545 attached
[pid 14533] 10:59:47.018459 openat(AT_FDCWD, “/sys/fs/cgroup/cgroup.controllers”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.019849 openat(AT_FDCWD, “/proc/cmdline”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.020363 openat(AT_FDCWD, “/snap/snapd/23545/usr/lib/snapd/snapd”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021052 openat(AT_FDCWD, “/snap/snapd/23545/usr/lib/snapd/snapd”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021618 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021741 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/caps”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021812 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/dbus”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021874 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/domain”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.021947 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/domain/attach_conditions”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022012 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/file”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022074 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/io_uring”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022180 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/ipc”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022248 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/mount”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022316 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/namespaces”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022379 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/network”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022441 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/network_v8”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022503 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/policy”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022567 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/policy/unconfined_restrictions”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022635 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/policy/versions”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022699 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/ptrace”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022761 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/query”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022824 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/query/label”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022890 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/rlimit”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.022955 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/signal”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.023017 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/policy/permstable32”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.023152 openat(AT_FDCWD, “/usr/lib/snapd/info”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.023273 openat(AT_FDCWD, “/proc/self/mountinfo”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.023717 openat(AT_FDCWD, “/etc/fstab”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.023791 openat(AT_FDCWD, “/proc/self/mountinfo”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.024974 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14541] 10:59:47.024987 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14542] 10:59:47.025068 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.025099 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14545] 10:59:47.025225 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
strace: Process 14546 attached
[pid 14542] 10:59:47.025257 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14541] 10:59:47.025270 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.025317 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14544] 10:59:47.025356 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14542] 10:59:47.025420 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14541] 10:59:47.025429 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14540] 10:59:47.025467 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14542] 10:59:47.025526 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14544] 10:59:47.025536 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.025548 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14542] 10:59:47.025659 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14541] 10:59:47.025692 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14540] 10:59:47.025702 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
strace: Process 14547 attached
[pid 14533] 10:59:47.025992 openat(AT_FDCWD, “/proc/sys/kernel/seccomp/actions_avail”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.026193 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.026241 openat(AT_FDCWD, “/dev/null”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.026324 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
[pid 14533] 10:59:47.026476 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14533, si_uid=1000} —
strace: Process 14548 attached
[pid 14548] 10:59:47.030313 openat(AT_FDCWD, “/snap/snapd/current/usr/lib/x86_64-linux-gnu/libseccomp.so.2”, O_RDONLY|O_CLOEXEC) = 3
[pid 14548] 10:59:47.030654 openat(AT_FDCWD, “/snap/snapd/current/usr/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
[pid 14548] 10:59:47.032128 openat(AT_FDCWD, “/sys/kernel/mm/transparent_hugepage/hpage_pmd_size”, O_RDONLY) = 3
strace: Process 14549 attached
strace: Process 14550 attached
strace: Process 14551 attached
strace: Process 14552 attached
[pid 14551] 10:59:47.037286 — SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=14548, si_uid=1000} —
strace: Process 14553 attached
[pid 14548] 10:59:47.038850 openat(AT_FDCWD, “/snap/snapd/23545/usr/lib/snapd/snap-seccomp”, O_RDONLY|O_CLOEXEC) = 3
[pid 14552] 10:59:47.041216 +++ exited with 0 +++
[pid 14551] 10:59:47.041232 +++ exited with 0 +++
[pid 14550] 10:59:47.041242 +++ exited with 0 +++
[pid 14549] 10:59:47.041251 +++ exited with 0 +++
[pid 14553] 10:59:47.041693 +++ exited with 0 +++
[pid 14548] 10:59:47.041702 +++ exited with 0 +++
[pid 14541] 10:59:47.041731 — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14548, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
[pid 14547] 10:59:47.041996 openat(AT_FDCWD, “/var/lib/snapd/system-key”, O_RDONLY|O_CLOEXEC) = 3
[pid 14547] 10:59:47.042431 openat(AT_FDCWD, “/sys/kernel/security/apparmor/features/policy/permstable32_version”, O_RDONLY|O_CLOEXEC) = 3
[pid 14547] 10:59:47.042716 openat(AT_FDCWD, “/var/lib/snapd/inhibit/plex-desktop.lock”, O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 3
[pid 14547] 10:59:47.042913 openat(AT_FDCWD, “/snap/plex-desktop/81/meta/snap.yaml”, O_RDONLY|O_CLOEXEC) = 7
[pid 14547] 10:59:47.043630 openat(AT_FDCWD, “/snap/plex-desktop/81/meta/hooks”, O_RDONLY|O_CLOEXEC) = 7
[pid 14547] 10:59:47.043935 openat(AT_FDCWD, “/var/lib/snapd/sequence/plex-desktop.json”, O_RDONLY|O_CLOEXEC) = 7
[pid 14547] 10:59:47.044442 openat(AT_FDCWD, “/dev/null”, O_RDONLY|O_CLOEXEC) = 7
strace: Process 14554 attached
[pid 14554] 10:59:47.047501 openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
[pid 14554] 10:59:47.047741 openat(AT_FDCWD, “/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
[pid 14554] 10:59:47.048775 openat(AT_FDCWD, “/usr/lib/locale/locale-archive”, O_RDONLY|O_CLOEXEC) = 3
[pid 14554] 10:59:47.049344 openat(AT_FDCWD, “/etc/nsswitch.conf”, O_RDONLY|O_CLOEXEC) = 3
[pid 14554] 10:59:47.049569 openat(AT_FDCWD, “/etc/passwd”, O_RDONLY|O_CLOEXEC) = 3
[pid 14554] 10:59:47.049970 +++ exited with 0 +++
[pid 14547] 10:59:47.050004 — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14554, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
[pid 14533] 10:59:47.050360 openat(AT_FDCWD, “/proc/self/mountinfo”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.051383 openat(AT_FDCWD, “/dev/null”, O_RDONLY|O_CLOEXEC) = 7
strace: Process 14555 attached
[pid 14555] 10:59:47.053759 openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
[pid 14555] 10:59:47.053905 openat(AT_FDCWD, “/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
[pid 14555] 10:59:47.054749 openat(AT_FDCWD, “/usr/lib/locale/locale-archive”, O_RDONLY|O_CLOEXEC) = 3
[pid 14555] 10:59:47.055142 openat(AT_FDCWD, “/etc/nsswitch.conf”, O_RDONLY|O_CLOEXEC) = 3
[pid 14555] 10:59:47.055322 openat(AT_FDCWD, “/etc/passwd”, O_RDONLY|O_CLOEXEC) = 3
[pid 14555] 10:59:47.055642 +++ exited with 0 +++
[pid 14547] 10:59:47.055671 — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14555, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
[pid 14533] 10:59:47.056069 openat(AT_FDCWD, “/run/user/1000/gdm/Xauthority”, O_RDONLY|O_CLOEXEC) = 7
[pid 14533] 10:59:47.056677 openat(AT_FDCWD, “/dev/null”, O_RDONLY|O_CLOEXEC) = 7
strace: Process 14556 attached
[pid 14556] 10:59:47.060385 openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
[pid 14556] 10:59:47.060689 openat(AT_FDCWD, “/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
[pid 14556] 10:59:47.061695 openat(AT_FDCWD, “/usr/lib/locale/locale-archive”, O_RDONLY|O_CLOEXEC) = 3
[pid 14556] 10:59:47.062175 openat(AT_FDCWD, “/etc/nsswitch.conf”, O_RDONLY|O_CLOEXEC) = 3
[pid 14556] 10:59:47.062390 openat(AT_FDCWD, “/etc/passwd”, O_RDONLY|O_CLOEXEC) = 3
[pid 14556] 10:59:47.062759 +++ exited with 0 +++
[pid 14547] 10:59:47.062792 — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14556, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
[pid 14547] 10:59:47.063065 openat(AT_FDCWD, “/proc/self/mountinfo”, O_RDONLY|O_CLOEXEC) = 7
[pid 14547] 10:59:47.064266 openat(AT_FDCWD, “/dev/null”, O_RDONLY|O_CLOEXEC) = 7
strace: Process 14557 attached
[pid 14557] 10:59:47.066157 openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
[pid 14557] 10:59:47.066274 openat(AT_FDCWD, “/lib/x86_64-linux-gnu/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
[pid 14557] 10:59:47.066925 openat(AT_FDCWD, “/usr/lib/locale/locale-archive”, O_RDONLY|O_CLOEXEC) = 3
[pid 14557] 10:59:47.067250 openat(AT_FDCWD, “/etc/nsswitch.conf”, O_RDONLY|O_CLOEXEC) = 3
[pid 14557] 10:59:47.067397 openat(AT_FDCWD, “/etc/passwd”, O_RDONLY|O_CLOEXEC) = 3
[pid 14557] 10:59:47.067704 +++ exited with 0 +++
[pid 14533] 10:59:47.067717 — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14557, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
[pid 14533] 10:59:47.067936 openat(AT_FDCWD, “/proc/14533/cgroup”, O_RDONLY|O_CLOEXEC) = 7
[pid 14541] 10:59:47.068897 openat(AT_FDCWD, “/proc/sys/kernel/random/uuid”, O_RDONLY|O_CLOEXEC) = 8
[pid 14541] 10:59:47.098616 openat(AT_FDCWD, “/proc/14533/cgroup”, O_RDONLY|O_CLOEXEC) = 8
[pid 14547] 10:59:47.098994 +++ exited with 0 +++
[pid 14545] 10:59:47.099001 +++ exited with 0 +++
[pid 14539] 10:59:47.099007 +++ exited with 0 +++
[pid 14546] 10:59:47.099105 +++ exited with 0 +++
[pid 14544] 10:59:47.099109 +++ exited with 0 +++
[pid 14543] 10:59:47.099112 +++ exited with 0 +++
[pid 14542] 10:59:47.099114 +++ exited with 0 +++
[pid 14540] 10:59:47.099117 +++ exited with 0 +++
10:59:47.099779 +++ superseded by execve in pid 14541 +++
cannot fstatat canonical snap directory: Permission denied