BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 702-100 Topic 1 Question 10 Discussion

Actual exam question for LPI's 702-100 exam
Question #: 10
Topic #: 1
[All 702-100 Questions]

Given the following listing

-rw-r---r--- 1 root whee1 15254 Nov 13 08:55 bobsfile

How can the superuser grant the user bob write permission to this file?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Fabiola
5 months ago
Yeah, I also think the correct answer is B) chown bob:bob bobsfile.
upvoted 0 times
...
Marylyn
6 months ago
I believe A) chgrp bob bobsfile would change the group, not the permission.
upvoted 0 times
...
Farrah
6 months ago
I don't think so, the x flag is for execute permission, not write.
upvoted 0 times
...
Norah
6 months ago
But wouldn't C) chmod +x bobsfile also work to give write permission?
upvoted 0 times
...
Malcom
6 months ago
I agree, changing the ownership to bob will give him write permission.
upvoted 0 times
...
Eladia
6 months ago
I think the answer is B) chown bob:bob bobsfile.
upvoted 0 times
...

Save Cancel