1

When I attempt to "Clear browsing data" in chromium I see the following in a terminal.

 [...] RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 RemoveFilesRecursively: unlink dir: Directory not empty
 [3640:3669:0206/181710:ERROR:plugin_data_remover_impl.cc(263)]
 ClearSiteData returned error

How can I tell which directory it is having problems with?

This is using

Chromium 32.0.1700.102 Ubuntu 13.10
marshall
  • 121
  • 1
  • 4

2 Answers2

1

Chromium seems to use the following directories:

~/.config/chromium
~/.cache/chromium

Where ~ represents the home directory in /home
The . before the files mean they are hidden, so you need to press Ctrl+H to view them in file browser.

You can remove files with ubuntu-tweak's Janitor feature, or with BleachBit: enter image description here

or simply by running:

rm -rf ~/.config/chromium
rm -rf ~/.cache/chromium

And if you want to be sure it has been removed, you can use srm:

srm -rf ~/.config/chromium
srm -rf ~/.cache/chromium

Which overwrites the files etc, and may give more effective information if rhe folders cannot be deleted.

For all of the above, make sure chromium is not running.

Wilf
  • 30,194
  • 17
  • 108
  • 164
  • I did rm -rf ~/.config/chromium ; rm -rf ~/.cache/chromium but I still get exactly the same errors. – marshall Feb 06 '14 at 22:25
  • Do the files even exist? Look in .config & .cache in your home directory, and see if they exits - that may be the issue. The files are automatically generated on Chromium being opened. – Wilf Feb 06 '14 at 23:02
  • ls -lad .config/chromium/ drwx------ 5 marshall marshall 4096 Feb 6 22:25 .config/chromium/ .ls -lad .cache/chromium/ drwx------ 3 marshall marshall 4096 Feb 6 22:25 .cache/chromium/ – marshall Feb 07 '14 at 10:01
  • Weird.. Try using srm instead. – Wilf Feb 07 '14 at 10:22
1

You can also use Ubuntu tweak's janitor.

enter image description here

Parto
  • 15,325
  • 24
  • 86
  • 117