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

Linux Foundation LFCS Exam - Topic 1 Question 88 Discussion

Posted by Linsey on Sep 17, 2024 at 07:21 AM

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

Suggested Answer: E

Get Premium LFCS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
31 comments · newest first
TR
Troy 11 months ago
Really? I thought it would be something else entirely!
MA
Marva 11 months ago
Wait, isn't 775 too permissive?
HU
Huey 12 months ago
No way, it's definitely A!
TO
Tony 12 months ago
I think it's actually C.
TI
Tiffiny 1 year ago
Option A is correct!
ET
Ettie 1 year ago
I feel like option A is close, but I can't recall if the syntax is exactly right for setting those specific permissions.
MA
Marge 1 year ago
I practiced a similar question where we had to set permissions for a script, and I think 775 might allow too much access.
HI
Hillary 1 year ago
I remember something about using numeric codes for permissions, but I'm not sure if 577 is correct for this scenario.
LA
Latrice 1 year ago
I think the command needs to give execute permissions to everyone, but only the owner should have write access.
SA
Salome 1 year ago
I'm going to go with option A. The permissions u=rwx,go=rx seem to match what the question is asking for.
JO
Johnna 1 year ago
I'm a bit confused by the wording of the question. Can someone explain the difference between "executable by everyone" and "writable only by its owner"?
JU
Juan 1 year ago
I've got this! The answer is definitely C - chmod 577 /bin/foo. That sets the permissions exactly as described.
DO
Donte 1 year ago
Okay, let me see... I think option A might be the right answer, but I'm not totally sure.
EL
Elin 1 year ago
Hmm, this looks like a tricky one. I'll need to think through the permissions carefully.
JI
Jillian 1 year ago
This is a good test of my knowledge on password security. I feel pretty confident I can identify the right attacks for this scenario. I'll make sure to carefully consider each option before selecting my answers.
RI
Ricki 2 years ago
Haha, I bet the exam writer is having a field day with this one. These permissions questions always make my head spin, but I'll give option A a shot.
AM
Amber 1 year ago
↳ replying to Ricki
User 3: I agree with Lynette, option A seems like the right choice.
LY
Lynette 1 year ago
↳ replying to Ricki
User 2: I'm not sure, but I'll go with option D.
LE
Lera 1 year ago
↳ replying to Ricki
User 1: I think option A is correct.
SH
Shaniqua 2 years ago
Hmm, I'm not sure. I was thinking option D, 775, might be the answer, but now I'm not so confident. Permissions can be tricky!
LU
Ludivina 1 year ago
↳ replying to Shaniqua
User4: I agree with User3. Option A seems to be the most appropriate command for the given scenario.
MA
Marion 1 year ago
↳ replying to Shaniqua
User3: I believe option A is correct. It specifies the permissions for the owner and others.
LA
Lacey 2 years ago
↳ replying to Shaniqua
User2: I'm not sure about that. I was leaning towards option D, chmod 775 /bin/foo.
CH
Charlena 2 years ago
↳ replying to Shaniqua
User1: I think option A, chmod u=rwx,go=rx /bin/foo, is the correct command.
AL
Alita 2 years ago
Option C seems like the right choice to me. The 577 permissions give everyone execute access, but only the owner can write to the file.
NG
Ngoc 2 years ago
I think option A is the correct answer, as it sets the permissions to rwx for the owner, and rx for the group and others.
LA
Lashaun 2 years ago
↳ replying to Ngoc
Yes, option A sets the permissions as needed.
CH
Chaya 2 years ago
↳ replying to Ngoc
I agree, option A is the correct answer.
BA
Barney 2 years ago
I'm not sure, but I think C) chmod 577 /bin/foo might also work because it sets specific permissions for the owner, group, and others.
KA
Kayleigh 2 years ago
I agree with Lilli, because it specifies the permissions for the owner and others correctly.
LI
Lilli 2 years ago
I think the answer is A) chmod u=rwx,go=rx /bin/foo
0/2000 characters

Save Cancel