ファイルサーバに保存されている文書ファイルの内容を PC で直接編集した後, 上書き保存しようとしたら“権限がないので保存できません”というメッセージが表示された。この文書ファイルとそれが保存されているフォルダに設定されていた権限の組合せとして, 適切なものはどれか。
令和2年度 ITパスポート試験 問85
This question's explanation and your answers so far.
問 85
Incorrectア
The file write permission is set to “yes”. If there were write permission, overwrite-saving should succeed, which contradicts the fact that a “Cannot save” error appeared. Also, the folder read permission is “no”, which does not match the fact that the file could be reached and edited.
- イ
正解 Three access permissions can be inferred from this situation. First, the contents of the document file could be “edited directly on the PC”, so the file read permission is “yes”. Second, the file was inside a folder and could be opened and reached, so the folder read permission is also “yes”. Third, when trying to overwrite-save, the message “Cannot save because you do not have permission” appeared, so only the file write permission is “no”. The option that satisfies all three conditions is イ (file read = yes / file write = no / folder read = yes).
Incorrectウ
The file read permission is set to “no”. Without read permission, the document contents cannot be opened and edited, which contradicts the premise that it was “edited directly on the PC”. Even with write permission alone, if the contents cannot be read, editing itself is impossible.
Incorrectエ
The file read permission is set to “no”. Even with folder read permission, if the file itself cannot be read, its contents cannot be edited, which contradicts the fact that it “could be edited directly”.
- The basics of access rights. Infer permissions from the scenario: being able to edit and open the contents = file read permission present; overwrite-save being rejected = file write permission absent.
- Folder read permission is needed to reach and access the files inside it. The moment the file can be opened, the folder read permission can be judged to be “yes”.