I'm trying to do a simple copy of contents of one file to another and I'm getting permission denied even with sudo? I'm in /usr/local/share/applications if that makes a difference. The command I'm trying to run is sudo cat Gale.desktop > Obsidian.desktop. Also attempted with >>. Output is: bash: Obsidian.desktop: Permission denied
Also inexplicably my file browser stopped displaying file extensions as part of file names on this reboot. ls shows obsidian.desktop but my file browser shows Obsidian? idk wtf is happening. I've done all this in this directory before and it was definitely not like this. I can't even delete files here.
Ok a further update: I deleted a file from the terminal and it was successful. File browser still displays it even after closing and reopening it.
Rebooted and now successfully deleted a file here. I still feel like I'm losing my mind, please help lol
And now I've made my desktop file through other methods, run update-desktop-database and the entry simply isn't showing up. The .desktop file is set up the same as other working ones