CCA-410 · Question #64
What are the permissions of a file in HDFS with the following:rw-rw-r-x?
The correct answer is C. the owner and group can modify the contents of the file other can't. The first set of 3 permissions (rw-) relate to the username, the second set of 3 permissions (rw-) relate to the usergroup and the final set of 3 permissions (r-x) relate to anyone else who is not associated with the username or groupname. Each of the three sets of permissions…
Question
What are the permissions of a file in HDFS with the following:rw-rw-r-x?
Options
- AHDFS runs in user space which makes all users with access to the namespace able to read, write and
- Bthe owner and group cannot delete the file, but other can
- Cthe owner and group can modify the contents of the file other can't
- Dthe owner and group can read the file other can't
- ENo one can modify the content of the file
How the community answered
(32 responses)- A6% (2)
- B13% (4)
- C75% (24)
- D3% (1)
- E3% (1)
Explanation
The first set of 3 permissions (rw-) relate to the username, the second set of 3 permissions (rw-) relate to the usergroup and the final set of 3 permissions (r-x) relate to anyone else who is not associated with the username or groupname. Each of the three sets of permissions are defined in the following manner; r = Read permissions w = Write permissions x = Execute permissions
Topics
Community Discussion
No community discussion yet for this question.