Solve the problem that the Firefox browser cannot be opened when the Ubuntu non-root user logs in

When using the Ubuntu operating system, a common user was created, and after logging in the user found that the Firefox browser could not be opened. The following steps can solve the problem and
insert image description here
prompt "Your Firefox profile cannot be loaded. It may be missing or inaccessible.", the reason is that The ordinary user does not have enough permissions to open the Firefox browser normally. Enter the console and enter commands in the root directory to ls -laview the permissions of all current files (mainly see the user names and user groups of .cache and .mozilla).
When using the Firefox browser, you must ensure that the username and user group of .cache and .mozilla are the current user.
insert image description here
It is found that the user name and user group of .cache are both root and not the current user, so use the command sudo chown -hR hadoop:hadoop .cacheto change, after the change, use the ls -laview
insert image description here
to change successfully, open the browser The
insert image description here
problem is solved.

Reference link: Perfect solution to the problem that Ubuntu Desktop 16.04 Chinese version firefox cannot be started normally in non-root users

Guess you like

Origin blog.csdn.net/m0_55887872/article/details/124259924