How to solve problems caused by. dmrc and. ICEauthority File Permissions

Source: Internet
Author: User
How to solve the problems caused by the. dmrc and. ICEauthority File permissions-Linux general technology-Linux technology and application information, the following is a detailed description. In order to describe such problems in a more specific way and help linux friends solve the problem, I have to explain the problem in detail!

1. $ HOME /. dmrc has been ignored. this will not save the default session and language, the file should be owned by the user, and the permission is set to 644. the user's $ HOME directory should be owned by the user, and other users cannot write.

Solution:
First, check whether the users and groups in the/home/directory belong to the root user. The directory must belong to the root user and root group.

# Ls-l/home/User Name
Drwxr-xr-x 4 root 4096 home

If not, change the group to root and the user to root.
# Sudo chgrp-R root/home // change the group to root
# Sudo chown-R root/home // change the user to root

Second, the permission for changing the/home directory is 755.
# Sudo chmod 755/home

Again, change the/home/user name/. dmrc permission to 644.
# Sudo chmod 644/home/user name/. dmrc

OK!

2. GNOME session management cannot be performed on files '/home/user name /. ICEauthority 'lock. please report this GNOME software defect. this error occurs when the file directory cannot be written. you can log on to the secure mode and make sure the directory is writable.

Solution:
First, check whether the users and groups in the/home/directory belong to the root user. The directory must belong to the root user and root group.

# Ls-l/home/User Name
Drwxr-xr-x 4 root 4096 home

If not, change the group to root and the user to root.
# Sudo chgrp-R root/home // change the group to root
# Sudo chown-R root/home // change the user to root

Second, the permission for changing the/home directory is 755.
# Sudo chmod 755/home

Again, change the/home/user name/. dmrc permission to 644.
# Sudo chmod 600/home/user name/. ICEauthority

OK!

Summary: Most of the reasons for the above two problems are for beginners to save trouble. In general, the full/home directory permission is usually revoked and 777 permissions are usually granted. This is a bad habit, because there are many hidden important files in the/home directory that we don't know yet, the problem is sometimes unpredictable, so we must be cautious when releasing permissions in Linux.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.