There are two files in my Ubuntu 18.04, left after uninstallation od MyChrome app, I am not able to delete without change of permissions,as:
/var/lib/snapd/desktop/applications/mychrome_chrome.desktop
/var/lib/snapd/sequence/mychrome.jsonThere is no options to change permissions for that files. How to delete them?
11 Answer
The files are probably owned by the root user so your regular user is not allowed to remove them. You should be able to open a terminal and then type sudo rm -f /var/lib/snapd/desktop/applications/mychrome_chrome.desktop to remove the file.
If thay won't work, the file might be immutable (unlikely, but possible). Try sudo chattr -i /var/lib/snapd/desktop/applications/mychrome_chrome.desktop and then again sudo rm -f /var/lib/snapd/desktop/applications/mychrome_chrome.desktop.