Linux Lite Forums

Full Version: Lite Tweaks error on removing Firefox Cache
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Getting this error when trying to remove Firefox Cache:
[Image: w7d2Pxu.png]


Here is a brief overview of the desktop:
[Image: CInTj2u.png]
Can you run lite-tweaks from the command line please, and post the output.
I got this:

Quote:torrey@tdw:~$ lite-tweaks
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: `/var/log/samba/cores': Permission denied
find: `/var/log/samba/cores': Permission denied


When I did sudo lite-tweaks, I got the following, and I was able to clear the firefox cache that time:
Quote:torrey@tdw:~$ sudo lite-tweaks
[sudo] password for torrey:
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

Firefox
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
Lets check some ownership. Please paste the output of both:

Code:
ls -la

and

Code:
find ~/.mozilla/ -not -user youruserhere -printf "%p %u\n"

where youruserhere is your user.
Quote:torrey@tdw:~$ ls -la
total 312
drwxr-xr-x 54 torrey torrey  4096 Aug 14 12:31 .
drwxr-xr-x  5 root  root    4096 Jul 16 14:37 ..
drwx------  3 torrey torrey  4096 Jun 18 02:49 .adobe
drwxrwxr-x  3 torrey torrey  4096 Jun 19 19:51 .arista
-rw-rw-r--  1 torrey torrey  124 Jun 18 02:49 .asoundrc
drwxrwxr-x  3 torrey torrey  4096 Jul 30 14:17 .audacity-data
drwxrwxr-x  4 torrey torrey  4096 Jul 30 14:06 Audio
-rw-------  1 torrey torrey  4032 Aug 14 08:21 .bash_history
-rw-r--r--  1 torrey torrey  220 Jun 18 02:49 .bash_logout
-rw-rw-r--  1 torrey torrey  435 Jun 18 02:49 .bashrc
drwx------ 16 torrey torrey  4096 Aug 14 12:31 .cache
drwxrwxr-x  3 torrey torrey  4096 Jul 16 13:06 Calibre Library
drwx------ 39 torrey torrey  4096 Jul 30 11:32 .config
drwx------  3 torrey torrey  4096 Jun 18 02:49 .dbus
drwxr-xr-x  2 torrey torrey  4096 Aug 13 21:44 Desktop
-rw-r--r--  1 torrey torrey    23 Jun 18 02:55 .dmrc
drwxr-xr-x 43 torrey torrey 12288 Jun 19 15:50 Documents
drwxr-xr-x 21 torrey torrey  4096 Aug 13 15:21 Downloads
drwx------  5 torrey torrey  4096 Aug 14 12:32 .dropbox
drwx------ 26 torrey torrey  4096 Aug 14 12:32 Dropbox
drwxr-xr-x  3 torrey torrey  4096 Jul 23 20:22 .dropbox-dist
-rw-rw-r--  1 torrey torrey    15 Jul 16 09:50 .efax-gtk_mainwin_save
-rw-rw-r--  1 torrey torrey 11549 Jun 18 18:14 .efax-gtkrc
drwx------  2 torrey torrey  4096 Jun 18 17:51 efax-gtk-server
drwx------  2 torrey torrey  4096 Jun 18 17:51 faxin
drwx------  2 torrey torrey  4096 Jun 18 17:51 faxout
drwx------  3 torrey torrey  4096 Jun 18 18:24 faxsent
drwxrwxr-x  2 torrey torrey  4096 Jun 18 02:49 .fonts
drwxrwxr-x  2 torrey torrey  4096 Jul 17 15:29 .gcm
drwx------  3 torrey torrey  4096 Aug 14 12:31 .gconf
drwxr-xr-x 24 torrey torrey  4096 Jun 18 02:49 .gimp-2.8
-rw-r-----  1 torrey torrey    0 Aug 13 21:34 .gksu.lock
drwx------  3 torrey torrey  4096 Jun 18 07:41 .gnome
drwx------  3 torrey torrey  4096 Jun 18 02:49 .gnome2
drwx------  2 torrey torrey  4096 Jun 18 02:49 .gnome2_private
drwx------  2 torrey torrey  4096 Jun 20 02:38 .gnupg
drwx------  7 torrey torrey  4096 Aug 13 15:05 Google Drive
drwxrwxr-x  2 torrey torrey  4096 Jun 19 13:44 .gstreamer-0.10
-rw-rw-r--  1 torrey torrey    55 Jul 30 11:36 .gtk-bookmarks
-rw-rw-r--  1 torrey torrey  104 Jun 18 02:49 .gtkrc-2.0
drwx------  2 root  root    4096 Jun 19 13:19 .gvfs
drwxr--r--  2 torrey torrey  4096 Jun 18 17:48 .hardinfo
-rw-------  1 torrey torrey  942 Aug 14 12:31 .ICEauthority
drwx------  3 torrey torrey  4096 Jun 18 07:47 .kde
drwxr-xr-x  3 torrey torrey  4096 Jun 18 02:49 .local
drwx------  3 torrey torrey  4096 Jun 18 02:49 .macromedia
drwx------  4 torrey torrey  4096 Jun 18 02:49 .mozilla
drwxr-xr-x 23 torrey torrey  4096 Jun 18 09:17 Music
drwx------  3 torrey torrey  4096 Jun 18 07:41 .nv
-rw-rw-r--  1 torrey torrey  2178 Aug 13 20:24 .nvidia-settings-rc
drwxrwxr-x  7 torrey torrey  4096 Jun 18 09:11 OneDrive
drwxr-x---  6 torrey torrey  4096 Jun 19 17:25 .openshot
-rw-------  1 torrey torrey    0 Jul 30 18:10 .ovftool.ssldb
drwxr-xr-x 76 torrey torrey  4096 Jul 16 13:33 Pictures
drwx------  3 torrey torrey  4096 Jun 18 07:40 .pki
-rw-r--r--  1 torrey torrey  675 Jun 18 02:49 .profile
drwxr-xr-x  2 torrey torrey  4096 Jun 18 02:49 Public
drwxrwxr-x  5 torrey torrey  4096 Jun 19 17:10 .ssr
drwxr-xr-x  2 torrey torrey  4096 Jun 18 02:49 Templates
drwx------  4 torrey torrey  4096 Aug 13 21:05 .thumbnails
drwx------  4 torrey torrey  4096 Jun 19 20:09 .thunderbird
drwxrwxr-x  4 torrey torrey  4096 Jun 18 09:40 Torrey Woodhouse
drwxr-xr-x  3 torrey torrey  4096 Jun 19 20:36 Videos
drwxrwxr-x  4 torrey torrey  4096 Jul 30 09:32 VirtualBox VMs
drwxrwxr-x  3 torrey torrey  4096 Jul 30 18:10 vmware
drwxr-xr-x  2 torrey torrey  4096 Jul 31 00:50 .vmware
drwxrwxr-x  2 torrey torrey  4096 Jun 19 19:49 .winff
drwxr-xr-x  2 torrey torrey  4096 Aug 13 15:37 .wireshark
-rw-------  1 torrey torrey  571 Jul 30 15:13 .wvdial.conf
-rw-------  1 torrey torrey  102 Aug 14 12:31 .Xauthority
-rw-rw-r--  1 torrey torrey  7600 Jul 16 13:35 .xscreensaver
-rw-rw-r--  1 torrey torrey  7673 Aug 14 07:59 .xscreensaver-getimage.cache
-rw-------  1 torrey torrey  108 Aug 14 12:31 .xsession-errors
-rw-------  1 torrey torrey  230 Aug 14 08:21 .xsession-errors.old
torrey@tdw:~$



Quote:torrey@tdw:~$ find ~/.mozilla/ -not -user torrey -printf "%p %u\n"
/home/torrey/.mozilla/firefox/9nm53k9w.default/bookmarkbackups/bookmarks-2015-06-18_20_0kj6sIC5pDDn71vw4xMIfQ==.jsonlz4 root
torrey@tdw:~$
Theres your issue. For what ever reason, root owns the:

/home/torrey/.mozilla/firefox/9nm53k9w.default/bookmarkbackups/bookmarks-2015-06-18_20_0kj6sIC5pDDn71vw4xMIfQ==.jsonlz4

file. Why does root own a file in your home folder?? Kinda concerning tbh. Confused
Should I delete that file?
Let's change the ownership of it, and see what that produces in the future:

Code:
sudo chown torrey:torrey /home/torrey/.mozilla/firefox/9nm53k9w.default/bookmarkbackups/bookmarks-2015-06-18_20_0kj6sIC5pDDn71vw4xMIfQ==.jsonlz4
Ok.  It's with my desktop computer.  Travelling.  Will make a note to do that when I get back in front of that computer.
I ran your suggested chown command.  Then I reran the find command.  Nothing showed up this time.  I did look at the same file via Thunar and the permissions were changed from root to my user account. 

I'll let it rest as is.  Thanks.
Pages: 1 2