Deal of The Day! 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
1 months ago
E) vipw -u bob bobsfile? More like 'vipw -u dumb bob' amirite? B is the winner!
upvoted 0 times
Rossana
13 days ago
C) chmod +x bobsfile
upvoted 0 times
...
Maile
20 days ago
B) chown bob:bob bobsfile
upvoted 0 times
...
Leigha
1 months ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Jaleesa
1 months 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
1 months 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
1 months 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
2 months ago
I tried option C) chmod +x bobsfile, but that just added execute permission, not write permission. Definitely going with B!
upvoted 0 times
Dominga
17 days ago
Good choice! Option B is the correct answer.
upvoted 0 times
...
Chau
23 days ago
Option B) chown bob:bob bobsfile will grant user bob write permission to the file.
upvoted 0 times
...
Kristeen
1 months ago
Option C) chmod +x bobsfile only adds execute permission, not write permission.
upvoted 0 times
...
...
Gladys
2 months 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
Sueann
20 days ago
D) chperm 664 bobsfile
upvoted 0 times
...
Trina
26 days ago
C) chmod +x bobsfile
upvoted 0 times
...
Weldon
27 days ago
B) chown bob:bob bobsfile
upvoted 0 times
...
Felicitas
28 days ago
A) chgrp bob bobsfile
upvoted 0 times
...
...
Dulce
3 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
3 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