You are mixing up some things here
First, a program is not run as the user that owns it, but but as the user that runs it. Though there are ways to set a program to be run as the user that owns it, that is very, very, very, rarely done and not the case here. There is no security issue. I suggest you read up on understanding how Linux handles file permissions, for example here: https://www.linux.com/learn/tutorials/3 ... ermissions
Second, the few files that are in /opt/firefox are installed by the mint-stylish-addon and the mint-search-addon packages. These are add-ons to Firefox, not Firefox itself
How do I know? Using the "dpkg -S filename" you can search for packages that installed a file. To confirm, consult Synaptic and look at the list of files that both these packages installed, or just run the following to see that all the files in /opt/firefox are indeed installed from these two packages:
- Code: Select all
dpkg -L mint-stylish-addon mint-search-addon | grep ^/opt
So yeah, you can also look up the firefox package to see which files are installed for Firefox. None of those are in /opt.