Translated message

A translation of this page exists in English.

Logrotate が、所有者が root ではないログのローテーションをスキップする

Solution In Progress - Updated -

Issue

  • Logrotate が、所有者が root ではないログのローテーションをスキップします。
  • Logrotate のデバッグログには以下のように表示されます。
rotating pattern: /var/log/test
considering log /var/log/test
error: skipping "/var/log/test " because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content