Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
Suggested Answer: D
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
27 comments · newest first
MA
Matthew
7 months ago
B) 0640 is definitely the best choice. Clear permissions!
JU
Julieta
7 months ago
D) 0027 seems close, but not quite right.
SA
Sarah
7 months ago
I feel like A) 0017 could work too, but not sure.
WE
Wenona
7 months ago
I think it's B) 0640. It matches the permissions exactly.
JA
Janella
7 months ago
Totally agree with techguy, A is the way to go!
HE
Helaine
7 months ago
Wait, are we sure about A? Seems off.
SO
Sonia
8 months ago
D) 0027 seems right to me.
DE
Demetra
8 months ago
I thought it was B) 0640.
OD
Odette
8 months ago
A) 0017 is correct!
AL
Alline
8 months ago
Umask, the riddle wrapped in an enigma. I'm feeling a bit rebellious, so I'll go with A, just to keep the exam on its toes.
KA
Kattie
8 months ago
Umask, the secret handshake of file permissions. I'm going to go with D, it's the answer that's been haunting my dreams.
TH
Thad
8 months ago
Umask, the hidden gem of file management. I'm feeling a bit mischievous, so I'll go with B, just to keep things interesting.
SA
Sage
9 months ago
Ah, the umask, the gatekeeper of file permissions. I'm going to have to go with C, it just sounds more secure.
LI
Lizette
9 months ago
Umask, the mysterious guardian of file permissions! I'm feeling lucky with option A, let's see if it cracks the code.
JE
Jerry
9 months ago
The umask setting is like a secret code to unlock the default file permissions. I'm going to go with D, it just feels right.
DE
Desmond
10 months ago
I thought 0640 was the answer, but I’m not sure if that’s a valid umask setting. I need to double-check how umask works with file permissions.
JA
Jackie
10 months ago
If I remember correctly, umask subtracts permissions from the default. So for -rw-r-----, I think the umask should be 0027, but I could be wrong.
WI
Willard
10 months ago
I practiced a similar question where we had to calculate umask for different permissions. I feel like 0027 might be close, but I can't recall the specifics.
HI
Hildegarde
10 months ago
I think umask values can be tricky. I remember that lower values mean more permissions, but I'm not sure about the exact calculations for this one.
RI
Rikki
10 months ago
I've got a hunch it's D) 0027, but I'm not 100% sure. Guess I'll have to work through the logic carefully.
AN
Andra
11 months ago
Ugh, umask is always confusing. Let me try to break this down step-by-step and see if I can figure it out.
CE
Ceola
11 months ago
Alright, time to put my Linux knowledge to the test. I remember umask works by subtracting the value from the default permissions, so I just need to find the right combination.
ER
Ernest
11 months ago
Okay, let me see... I think the default permissions for new files are 0644, so I need to find the umask that would give me -rw-r-----. Gotta do some math here.
JU
Junita
11 months ago
Hmm, this one's tricky. I'll need to think through the umask settings carefully.
NO
Norah
5 months ago
D) 0027 seems right to me.
DE
Delpha
5 months ago
I lean towards A) 0017.
CL
Clay
5 months ago
I think it's B) 0640.