Ensure that All Entries in The Path of Root Are Directories

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください

Description

For each element in root’s path, run:

# ls -ld DIR
         

and ensure that the entry is a directory.

Rationale

Locations in root’s path that are not directories could cause unexpected behavior, such as executing scrips from unintended locations. Ensuring that all locations in root’s path are directories helps maintain a secure environment for root.