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 101-500 Exam - Topic 7 Question 20 Discussion

Posted by Kiley on May 05, 2022 at 10:05 AM

Consider the following directory:

drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales

Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

Suggested Answer: C, E

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
BI
Billye 11 months ago
I disagree, I thought chgrp was the way to go here.
SA
Sabina 12 months ago
Wait, can you really use chmod like that? Sounds odd.
AR
Arleen 12 months ago
Definitely A, but E is also a good choice.
ME
Merlyn 12 months ago
I think B is a typo, that command doesn't exist.
BE
Bette 1 year ago
A and E are correct!
LO
Lonna 1 year ago
I don't think 'chown --persistent' is a valid command; it sounds off to me, but I can't remember the exact details.
IE
Iesha 1 year ago
I practiced a similar question, and I feel like 'chmod g+s' might be the right answer too, but I can't recall if there's a specific syntax I should remember.
JA
Jacquelyne 1 year ago
I remember something about using chmod to set the group ID on a directory, but I'm not sure if it's just 'g+s' or if there's more to it.
TA
Tamar 1 year ago
I think option E is correct because it sets the setgid bit, which should ensure new files inherit the group ownership.
DE
Denise 1 year ago
I'm a little confused by this question. Is it asking about the recommended approach for starting a 5S program, or something else? I'll have to re-read the question and think it through step-by-step.
CA
Candida 1 year ago
Hmm, I'm a bit unsure about this. I know security is important, but I'm not sure if it's the tester's full responsibility or if they need to work with security experts. I'll have to think this through carefully.
JO
Joaquin 1 year ago
I remember practicing something similar, and time to value seems important in gaining executive buy-in.
CR
Cristal 1 year ago
I'm a bit confused by the terminology in this question. I'll need to review my notes on VPLS and LDP to make sure I'm on the right track.
0/2000 characters

Save Cancel