Why is there a folder ./mozilla in non-GUI operating system?

Support for security such as Firewalls and securing linux
Post Reply
amiralnoah
Posts: 2
Joined: 2016/01/18 14:27:00

Why is there a folder ./mozilla in non-GUI operating system?

Post by amiralnoah » 2016/01/18 14:45:30

On my server, there is a .mozilla folder.
Where did it come from?
I'm using CentOS 7
  • $ ls -a -l
    total 44
    drwx------. 6 username username 4096 Jan 18 15:43 .
    drwxr-xr-x. 4 root root 4096 Jan 18 17:55 ..
    -rw-------. 1 username username 1127 Jan 18 17:22 .bash_history
    -rw-r--r--. 1 username username 18 Nov 20 07:02 .bash_logout
    -rw-r--r--. 1 username username 193 Nov 20 07:02 .bash_profile
    -rw-r--r--. 1 username username 231 Nov 20 07:02 .bashrc
    drwxrwxr-x. 3 username username 4096 Jan 16 16:43 .cache
    drwxrwxr-x. 3 username username 4096 Jan 16 16:43 .config
    drwxr-xr-x. 4 username username 4096 Jan 16 12:44 .mozilla
    drwx------. 2 username username 4096 Jan 18 12:54 .ssh
    -rw-------. 1 username username 672 Jan 18 15:43 .viminfo
  • $ locate mozilla
    /etc/skel/.mozilla
    /etc/skel/.mozilla/extensions
    /etc/skel/.mozilla/plugins
    /home/amiral/.mozilla
    /home/amiral/.mozilla/extensions
    /home/amiral/.mozilla/plugins
    /usr/lib/mozilla
    /usr/lib/mozilla/extensions
    /usr/lib/mozilla/plugins
    /usr/lib64/mozilla
    /usr/lib64/mozilla/extensions
    /usr/lib64/mozilla/plugins
    /usr/lib64/xulrunner/mozilla-xremote-client
    /usr/lib64/xulrunner/run-mozilla.sh
    /usr/share/mozilla
    /usr/share/mime/application/vnd.mozilla.xul+xml.xml
    /usr/share/mime/application/x-mozilla-bookmarks.xml

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Why is there a folder ./mozilla in non-GUI operating sys

Post by avij » 2016/01/18 15:39:11

If you have the mozilla-filesystem package installed, you will get the files you mentioned. That package is required by firefox, gnome-shell, gnome-shell, icedtea-web, kdenetwork-kopete, PackageKit-browser-plugin, thunderbird and xulrunner, so you probably have one of those packages installed.

amiralnoah
Posts: 2
Joined: 2016/01/18 14:27:00

Re: Why is there a folder ./mozilla in non-GUI operating sys

Post by amiralnoah » 2016/01/18 16:18:14

That makes sense. Thanks a lot.
  • $ sudo yum list mozilla-filesystem
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: mirror.idealhosting.net.tr
    * extras: mirror.idealhosting.net.tr
    * updates: mirror.vit.com.tr
    Installed Packages
    mozilla-filesystem.x86_64 1.9-11.el7 @anaconda

User avatar
jlehtone
Posts: 2388
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Why is there a folder ./mozilla in non-GUI operating sys

Post by jlehtone » 2016/01/26 09:26:15

amiralnoah wrote:On my server, there is a .mozilla folder.
Where did it come from?
Try:

Code: Select all

rpm -qf /etc/skel/.mozilla
(Or preferably read man rpm to find out what that would do.)

Post Reply

Return to “CentOS 7 - Security Support”