exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 2 discussion

Actual exam question from LPI's 101-500
Question #: 2
Topic #: 1
[All 101-500 Questions]

Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

  • A. 0750
  • B. 0027
  • C. 0036
  • D. 7640
  • E. 0029
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
anhcq
Highly Voted 2 years, 8 months ago
written and listed by their owning user => 7 => umask 0 read and listed by their owning group => 5 => umask 2 not accessible at all for everyone else => 0 => umask 7 => umask 0027, answer is B
upvoted 24 times
...
Malicaide
Highly Voted 4 years ago
Answer is B. 0027
upvoted 8 times
...
janotijr
Most Recent 1 month, 2 weeks ago
777 for directories 666 for files written and listed by their owning user => 7 read and listed by their owning group => 5 not accessible at all for everyone else => 0 777 - 750 = 027
upvoted 1 times
...
asssssa
3 months, 2 weeks ago
i don't know why b
upvoted 1 times
...
Tewodros89
10 months ago
Answer is B. 0027 The leading '0' means we're specifying the umask in octal (base 8). The '2' in the first position subtracts write permissions for "others" (everyone else). The '7' in the second position subtracts read, write, and execute permissions for the group. The '2' in the third position subtracts write permission for the user.
upvoted 4 times
hello2022
8 months, 3 weeks ago
excellent explanation
upvoted 1 times
...
...
Dlm17
1 year, 2 months ago
Selected Answer: B
B is the answer
upvoted 2 times
...
Jubal75
1 year, 4 months ago
Selected Answer: B
I say B
upvoted 1 times
...
armandolubaba
1 year, 6 months ago
B is correct
upvoted 2 times
...
HelgaLee
1 year, 10 months ago
I think this schema would be more easy to get about umask https://en.wikipedia.org/wiki/Umask
upvoted 1 times
...
erikseals
2 years, 1 month ago
B. 0027
upvoted 1 times
...
FantaCola
2 years, 5 months ago
Selected Answer: B
B. 0027
upvoted 1 times
...
Lazylinux
2 years, 6 months ago
Selected Answer: B
IS correct
upvoted 1 times
...
McLaba
3 years, 3 months ago
Mask (Numeric Notation) 137 Allowed Permissions rw-r----- https://wintelguy.com/umask-calc.pl
upvoted 2 times
...
minajahan
4 years, 1 month ago
https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago