How can I remedy the problem after 777 Linux permissions ?, Linux777

Source: Internet
Author: User

How can I remedy the problem after 777 Linux permissions ?, Linux777
How can I remedy the problem after 777 Linux permissions?

I am not careful about using the/var 777 script. After one day of recovery, it is estimated that there is still a pitfall. Let's use it first.

Restore permission script
#! /Bin/shforeachd () {for file in $1/* do # print and process the directory, and then traverse the directory, recursively call if [-d $ file] then echo $ file chmod 755 $ file foreachd $ file elif [-e $ file] then echo $ file chmod 664 $ file fidone} # execute, if a parameter exists, traverse the specified directory. Otherwise, traverse the current directory if [$ #> 0] then foreachd "$1" else foreachd ". "fi

The source has been forgotten. The author can reply to it ~

Ssh Login Failure

Similar performance

Remote connection disconnect. Retrying...

Connection reset. Retrying...

You need to start GUI logon. GUI logon is acceptable. Do not use ssh to log on ..... If there is no GUI, sacrifice the day ....

# Chmod 755/var/empty/sshd/
Rabbit MQ cannot be started

Error

Cannot_read_enabled_plugins_file, "/etc/rabbitmq/enabled_plugins _

You need to modify the configuration file permission.

# Chmod 640/etc/rabbitmq/enabled_plugins
Other software problems

If the software cannot be started, it may be related to the software's permission sensitivity. Generally, the search engine can search for keywords to obtain relevant results.

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.