I deleted snapshots, uninstalled Timeshift, but the folder is still using up 13 GB and I can't delete it. How to delete the Timeshift folder?
I meant the fact that despite deleting all of your snapshots you still have to MANUALLY delete the folder itself to remove all of the contents.Timeshift has to run with / (root) permissions because the files it has to deal with have / (root) permissions, too.
Don't think of it as annoying. Remember that at heart Linux is a multi-user operating system. The permissions system is protection against a user (that's you) doing something untoward to the entire system and all the other users (although on a desktop PC or laptop there typically won't be other users).
That last one/etc - timeshift.json
/etc/default - timeshift.json
- 16x16/apps , through to 128x128/apps ... numerous files 790 bytes to 4Kb of timeshift.png (58 .png, 2 .svg)
We could find out over at the Tute? It has closer to 13,000 views than not (just passed one year since I wrote it), not just here but on the Internet, and so the answers can benefit many whom follow it.I'm not sure what happens if you just delete a snapshot with the file browser or from the command prompt.
That is a part of author Tony George's instructions, he wrote it, so likely he knows....snapshots should only be removed by the application.
That command did not work for me in Ubuntu 18.10. I got a dialogue box asking for my password, which I entered (my user account is an admin account) but I got this:Yes, permissions. Right now, the Timeshift folder, and its contents are owned by / (root).
Open the terminal and execute the command:
Enter your user password when prompted. This should open your file browser (Nautilus) with elevated permissions (i.e., it has root permissions), navigate to the /timeshift folder and just right-click and select "delete" This will permanently delete the folder /timeshift and all of it's contents . (Make sure you use delete and not "move to trash". If you "move to trash" the files will get moved to root's trash folder where they will still take up space and be devilishly difficult to remove permanently). Close Nautilus.
There are a bunch of other ways to do this. The key is remembering you have to change the permissions of all of the files/folders contained by the parent folder (in this case, /Timeshift) too.
That is because it was already installed as a part of previous commands such asI don't remember doing it as a separate action -- but I could be wrong.
sudo apt install nautilus-admin
apt-cache policy policykit-1