スティッキービットとは何か?
スティッキービットは、ディレクトリに設定される権限フラグで、その中のファイルの削除や名前変更を、ファイルの所有者、ディレクトリの所有者、または root に限定します。これにより、共有されており誰でも書き込み可能なディレクトリでも、あるユーザーが別のユーザーのファイルを削除できないようにして安全に保てます。一時ディレクトリは、これが適用される典型的な場所です。
なぜ重要か
runner 上の共有スクラッチディレクトリはスティッキービットを使い、並行して動く job が互いの一時ファイルを上書きしないようにします。これを認識すると、そのようなディレクトリの権限一覧に付く末尾のマーカーを説明できます。
関連ガイド
What Is the Setuid Bit?The setuid bit makes an executable run with the privileges of its owner rather than the user launching it, of…
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…
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…