You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds good to me! There are many websites that give examples and tips using sudo gedit... etc.
A safeguard that refuses a bad command and recommends a better alternative would be a lot easier than trying to convince the entire web to behave better :)
Is the safeguard implemented per-app or can it be implemented per app category to handle all text editors? I am thinking of the user that might read the same tip and download gedit specifically to run sudo gedit...
I just installed the latest elementary os: elementary OS 5.1.7 Hera
I had accidentally used the wrong computer name. So the first thing I did after the first boot was open a terminal and
sudo io.elementary.code /etc/hostname
and
sudo io.elementary.code /etc/hosts
After this, I get
When I try to open or edit a new file by default without superuser privileges.
Changing permissions in ~/.local/share/io.elementary.code appears to fix the issue. eg
sudo chown -R ayoungethan ~/.local/share/io.elementary.code
I believe if a user opens io.elementary.code using superuser privileges, it should not create a root-level folder in the user's home folder.
The text was updated successfully, but these errors were encountered: