Cyber Monday 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 4 Question 30 Discussion

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

Scot
12 days ago
E) vipw -u bob bobsfile? More like 'vipw -u dumb bob' amirite? B is the winner!
upvoted 0 times
Leigha
2 days ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Jaleesa
13 days ago
I guess option A) chgrp bob bobsfile would work if bob was a group, but then he'd have to share the file with the 'whee1' group. Ain't nobody got time for that!
upvoted 0 times
...
Wendell
14 days ago
I'm not even going to bother with D) chperm 664 bobsfile - that's not a real command. B is the only logical choice.
upvoted 0 times
...
Lisandra
15 days ago
Hmm, E) vipw -u bob bobsfile sounds like it's trying to edit the system's password file, which is not what we want here. B is the way to go.
upvoted 0 times
...
Danica
17 days ago
I tried option C) chmod +x bobsfile, but that just added execute permission, not write permission. Definitely going with B!
upvoted 0 times
Kristeen
8 days ago
Option C) chmod +x bobsfile only adds execute permission, not write permission.
upvoted 0 times
...
...
Gladys
22 days ago
B) chown bob:bob bobsfile is the correct answer. We need to change the owner of the file to the user bob to grant write permission.
upvoted 0 times
...
Dulce
2 months ago
I agree with Teri, using chown to change the owner of the file to Dulce will give him write permission.
upvoted 0 times
...
Teri
2 months ago
I think the superuser should use option B) chown bob:bob bobsfile to grant write permission to bob.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77