Use chmod command with caution

Source: Internet
Author: User
When Tomcat was configured last night, it was mistakenly used under/usr/share /.
Chmod command

I didn't pay attention to it at the time. I just wanted to give some permissions to common users to the Tomcat directory below it.

When the system is started and restarted, the logon interface disappears and an error prompt dialog box appears, all

I didn't know what happened at that time. I suddenly thought of the previous font beautification before going to bed last night and forgot to grant permissions.

In the recover mode, this prompt is displayed: cocould not init font path element/usr/share/fonts/X11 /..

So I changed the permission: chmod-r 755/usr/share/font/
========================================================== ==============================
-R indicates that sub-directories also change permissions. 755 indicates the permissions of users, user groups, and other users.

R --- read ------ 4
W -- write ----- 2
X --- execute -- 1

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.