所有者、グループ、その他の権限とは?
所有者、グループ、その他は、Unix のファイルが個別の権限を持つ 3 つのユーザーカテゴリです。所有者はそのファイルを所有するユーザー、グループは割り当てられたグループ、その他はそれ以外のすべての人を指します。各カテゴリは読み取り、書き込み、実行のビットを独立して持ち、これらが合わさってファイルの権限セットを構成します。
なぜ重要か
CI の権限エラーの多くは、別のユーザーやステップがファイルを必要としているのに、そのファイルが所有者だけに読み取り可能になっていることに起因します。この 3 つのクラスで考えると、そうしたアクセスの問題を素早く診断できます。
関連ガイド
What Are File Mode Bits?File mode bits are the permission and type flags on a file that encode who may read, write, or execute it, us…
What Is a Umask Value?A umask value is a per-process mask that clears permission bits from newly created files and directories, set…
What Is the Setgid Bit?The setgid bit runs an executable with its group privileges, or on a directory makes new files inherit that d…