Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Check file permissions and ownership and set it back to default values

    Posted on

    Hello All,

    Today I asked myself if there is any way to check the file permissions and ownerships on my system, compare them to the values from point of installation and reset them if needed.

    I thought about the following case. When installing a RPM-Package which installs libraries and configuration files the initial file mode and ownership is specified in the RPM. If someone is messing up with

    chmod
    and
    chown
    I could get into some trouble if files in /etc or /usr for example were changed. In this case I would like to have some mechanism or tool to check which files differ from the default values and reset them.

    Do somebody know if there already is such a mechanism? If not, is it worth to write a RFE to get it?

    I'm not sure if there was a case discussing this topic, already. But I could not find it. So if there is already a thread, please point my nose to it.

    Best regards,
    Joerg

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat