Show Table of Contents
5.4. ACL の取り込み
ファイルまたはディレクトリーに設定されている ACL を確認するには、
getfacl コマンドを使用します。以下の例では、getfacl でファイルの既存 ACL を確認しています。
例5.4 ACL の取り込み
# getfacl home/john/picture.png
上記のコマンドは次のような出力を返します。
# file: home/john/picture.png # owner: john # group: john user::rw- group::r-- other::r--
ディレクトリーにデフォルト ACL が指定されている場合は、以下のようにデフォルト ACL も表示されます。たとえば、
getfacl home/sales/ を実行すると以下のような出力になります。
# file: home/sales/ # owner: john # group: john user::rw- user:barryg:r-- group::r-- mask::r-- other::r-- default:user::rwx default:user:john:rwx default:group::r-x default:mask::rwx default:other::r-x

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.