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 20 Discussion

Actual exam question for LPI's 702-100 exam
Question #: 20
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:

Casandra
3 months ago
I'm going with B) chown bob:bob bobsfile. It's the most straightforward way to give bob the necessary permissions.
upvoted 0 times
Ozell
2 months ago
Agreed, that seems like the most direct way to grant bob write permission.
upvoted 0 times
...
Sharika
3 months ago
I think B) chown bob:bob bobsfile is the correct choice.
upvoted 0 times
...
...
Nida
3 months ago
Haha, E) vipw -u bob bobsfile? Really? That's like using a sledgehammer to crack a nut. You need a more surgical approach here.
upvoted 0 times
Bernadine
2 months ago
C) chmod +x bobsfile
upvoted 0 times
...
Malcolm
3 months ago
B) chown bob:bob bobsfile
upvoted 0 times
...
Odelia
3 months ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Casandra
3 months ago
Hmm, I thought the answer would be D) chperm 664 bobsfile. I guess I still have a lot to learn about file permissions.
upvoted 0 times
Emily
3 months ago
Yolande: Thanks for the clarification. I'll remember that for next time.
upvoted 0 times
...
Tasia
3 months ago
Correct! The superuser can grant write permission by changing the owner of the file to bob.
upvoted 0 times
...
Yolande
3 months ago
That's incorrect. Yolande: B) chown bob:bob bobsfile
upvoted 0 times
...
Penney
3 months ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Stevie
4 months ago
I believe C) chmod +x Antonettesfile is incorrect because it adds execute permission, not write permission
upvoted 0 times
...
Brittni
4 months ago
I'm not sure, but I think A) chgrp Antonette Antonettesfile might also work
upvoted 0 times
...
Antonette
4 months ago
I agree with Omer, changing the owner to Antonette should grant write permission
upvoted 0 times
...
Kimberlie
4 months ago
B) chown bob:bob bobsfile is the correct answer. We need to change the owner of the file to bob in order to grant him write permission.
upvoted 1 times
Brynn
3 months ago
D) chperm 664 bobsfile
upvoted 0 times
...
Carmen
3 months ago
C) chmod +x bobsfile
upvoted 0 times
...
Blondell
3 months ago
B) chown bob:bob bobsfile
upvoted 0 times
...
Aimee
4 months ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Omer
4 months ago
I think the answer is B) chown bob:bob bobsfile
upvoted 1 times
...

Save Cancel