Gentech のネットワーク セキュリティ責任者である Henry は、誰かが CEO 専用に予約した一般的なレポート テンプレートを発見しました。ファイルは誰でも編集、表示、削除できる必要があるため、どのような権限値を設定すればよいでしょうか。
正解:A
To allow a file to be editable, viewable, and deletable by everyone, Henry needs to set the file permissions to the most permissive value. In Linux and Unix systems, file permissions are represented by three sets of three bits, each set representing permissions for the owner, the group, and others.
The permission value of 777 means:
* The first digit (7) grants read (4), write (2), and execute (1) permissions to the owner.
* The second digit (7) grants read, write, and execute permissions to the group.
* The third digit (7) grants read, write, and execute permissions to others.
Setting the permissions to 777 ensures that everyone (owner, group, and others) can read, write, and execute the file. This aligns with the requirement for the file to be editable, viewable, and deletable by everyone.
References:
* EC-Council Certified Network Defender (CND) Study Guide
* Linux file permissions documentation and chmod command usage