"gvfs-admin --help" core dumps with trace/breakpoint trap if not run under pkexec
Running /usr/lib/gvfs/gvfsd-admin --help
on Ubuntu 19.04 (gvfs-backends 1.40.1-1) or 18.04.2 LTS (gvfs-backends 1.36.1-0ubuntu1.3) results in the following output:
restricteduser@computer:~$ /usr/lib/gvfs/gvfsd-admin --help
** (process:28333): ERROR **: 13:38:57.520: gvfsd-admin must be executed under pkexec
Trace/breakpoint trap
restricteduser@computer:~$
Ideally, this software would just print --help output, as it does if run with pkexec, or none if it is unable to do so without failing.
This was previously reported to Ubuntu at https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1824738