1Z0-821 · Question #78
User jack logs in to host Solaris and executes the following command sequence: Which three statements are correct?
The correct answer is B. User jack can use cat to output the contents of testfile because he has read permission as the file owner. D. User jill can edit testfile because she has read and write permission at the group level. E. User jack can change permissions for testfile because he is the owner of the file. Real life example: jack@solaris:~$ echo "Welcome" > testfile bash: testfile: Permission denied jack@solaris:~$ cat testfile jill@solaris:/jack$ chmod o+x testfile chmod: WARNING: can't change testfile jill@solaris:/jack$ echo "Welcome" > testfile jill@solaris:/jack$ cat…
Question
User jack logs in to host Solaris and executes the following command sequence:
Which three statements are correct?
Exhibit
Options
- AUser jack can edit testfile because he has read and write permissions at the group level.
- BUser jack can use cat to output the contents of testfile because he has read permission as the file owner.
- CUser jill can change the permissions of testfile because she has write permission for the file at the group level.
- DUser jill can edit testfile because she has read and write permission at the group level.
- EUser jack can change permissions for testfile because he is the owner of the file.
- F(Jack without the execute permission)
How the community answered
(54 responses)- A6% (3)
- B83% (45)
- C2% (1)
- F9% (5)
Explanation
Real life example: jack@solaris:$ echo "Welcome" > testfile bash: testfile: Permission denied jack@solaris:$ cat testfile jill@solaris:/jack$ chmod o+x testfile chmod: WARNING: can't change testfile jill@solaris:/jack$ echo "Welcome" > testfile jill@solaris:/jack$ cat testfile jack@solaris:$ chmod o+x testfile jack@solaris:$ ls -l testfile -r-xrwx-x 1 jack staff 8 Aug 12 13:48 testfile jack@solaris:$ chmod o+rw testfile jack@solaris:$ ls -l testfile -r-rwxrwx 1 jack staff 8 Aug 12 13:48 testfile
Topics
Community Discussion
No community discussion yet for this question.
