$ which gedit
/usr/bin/gedit
$ ls -l /usr/bin/gedit
-rwxr-xr-x. 1 root root 18696 Nov 27 05:55 /usr/bin/gedit
$ gedit
$ # Nothing happens
$ sudo gedit
[sudo] password for user:
$ # gedit window starts
$ # I close the gedit window
$ sudo chmod 0777 /usr/bin/gedit
$ ls -l /usr/bin/gedit
-rwxrwxrwx. 1 root root 18696 Nov 27 05:55 /usr/bin/gedit
$ gedit
$ # Still nothing happens
$ uname -a
Linux linuxbox 5.4.8-200.fc31.x86_64 #1 SMP Mon Jan 6 16:44:18 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
From a comment at this question, I learned that journalctl --user shows "[l]ogs for end user applications". Running that command, I see no references to gedit.
Why is gedit only runnable with sudo? I am already user user in the log above; I don't understand why it is necessary to do sudo gedit to run this executable.
Update: The context of this question is that I observed that clicking the Text Editor icon in my GNOME 3 desktop environment resulted in nothing happening. From some scrapping about, I discovered the Text Editor icon corresponded to the gedit executable. Thinking that I might have some diagnosable stderr by running gedit from a shell, I did so, and captured the corresponding log above.