All Umasks

For Linux training courses, visit the Linux Training Academy.

Every Possible Umask Mode

Here is a list of every umask and the resulting permissions.

000rw-rw-rw-rwxrwxrwx
001rw-rw-rw-rwxrwxrw-
002rw-rw-r–rwxrwxr-x
003rw-rw-r–rwxrwxr–
004rw-rw–w-rwxrwx-wx
005rw-rw–w-rwxrwx-w-
006rw-rw—-rwxrwx–x
007rw-rw—-rwxrwx—
010rw-rw-rw-rwxrw-rwx
011rw-rw-rw-rwxrw-rw-
012rw-rw-r–rwxrw-r-x
013rw-rw-r–rwxrw-r–
014rw-rw–w-rwxrw–wx
015rw-rw–w-rwxrw–w-
016rw-rw—-rwxrw—x
017rw-rw—-rwxrw—-
020rw-r–rw-rwxr-xrwx
021rw-r–rw-rwxr-xrw-
022rw-r–r–rwxr-xr-x
023rw-r–r–rwxr-xr–
024rw-r—w-rwxr-x-wx
025rw-r—w-rwxr-x-w-
026rw-r—–rwxr-x–x
027rw-r—–rwxr-x—
030rw-r–rw-rwxr–rwx
031rw-r–rw-rwxr–rw-
032rw-r–r–rwxr–r-x
033rw-r–r–rwxr–r–
034rw-r—w-rwxr—wx
035rw-r—w-rwxr—w-
036rw-r—–rwxr—-x
037rw-r—–rwxr—–
040rw–w-rw-rwx-wxrwx
041rw–w-rw-rwx-wxrw-
042rw–w-r–rwx-wxr-x
043rw–w-r–rwx-wxr–
044rw–w–w-rwx-wx-wx
045rw–w–w-rwx-wx-w-
046rw–w—-rwx-wx–x
047rw–w—-rwx-wx—
050rw–w-rw-rwx-w-rwx
051rw–w-rw-rwx-w-rw-
052rw–w-r–rwx-w-r-x
053rw–w-r–rwx-w-r–
054rw–w–w-rwx-w–wx
055rw–w–w-rwx-w–w-
056rw–w—-rwx-w—x
057rw–w—-rwx-w—-
060rw—-rw-rwx–xrwx
061rw—-rw-rwx–xrw-
062rw—-r–rwx–xr-x
063rw—-r–rwx–xr–
064rw—–w-rwx–x-wx
065rw—–w-rwx–x-w-
066rw——-rwx–x–x
067rw——-rwx–x—
070rw—-rw-rwx—rwx
071rw—-rw-rwx—rw-
072rw—-r–rwx—r-x
073rw—-r–rwx—r–
074rw—–w-rwx—-wx
075rw—–w-rwx—-w-
076rw——-rwx—–x
077rw——-rwx——
100rw-rw-rw-rw-rwxrwx
101rw-rw-rw-rw-rwxrw-
102rw-rw-r–rw-rwxr-x
103rw-rw-r–rw-rwxr–
104rw-rw–w-rw-rwx-wx
105rw-rw–w-rw-rwx-w-
106rw-rw—-rw-rwx–x
107rw-rw—-rw-rwx—
110rw-rw-rw-rw-rw-rwx
111rw-rw-rw-rw-rw-rw-
112rw-rw-r–rw-rw-r-x
113rw-rw-r–rw-rw-r–
114rw-rw–w-rw-rw–wx
115rw-rw–w-rw-rw–w-
116rw-rw—-rw-rw—x
117rw-rw—-rw-rw—-
120rw-r–rw-rw-r-xrwx
121rw-r–rw-rw-r-xrw-
122rw-r–r–rw-r-xr-x
123rw-r–r–rw-r-xr–
124rw-r—w-rw-r-x-wx
125rw-r—w-rw-r-x-w-
126rw-r—–rw-r-x–x
127rw-r—–rw-r-x—
130rw-r–rw-rw-r–rwx
131rw-r–rw-rw-r–rw-
132rw-r–r–rw-r–r-x
133rw-r–r–rw-r–r–
134rw-r—w-rw-r—wx
135rw-r—w-rw-r—w-
136rw-r—–rw-r—-x
137rw-r—–rw-r—–
140rw–w-rw-rw–wxrwx
141rw–w-rw-rw–wxrw-
142rw–w-r–rw–wxr-x
143rw–w-r–rw–wxr–
144rw–w–w-rw–wx-wx
145rw–w–w-rw–wx-w-
146rw–w—-rw–wx–x
147rw–w—-rw–wx—
150rw–w-rw-rw–w-rwx
151rw–w-rw-rw–w-rw-
152rw–w-r–rw–w-r-x
153rw–w-r–rw–w-r–
154rw–w–w-rw–w–wx
155rw–w–w-rw–w–w-
156rw–w—-rw–w—x
157rw–w—-rw–w—-
160rw—-rw-rw—xrwx
161rw—-rw-rw—xrw-
162rw—-r–rw—xr-x
163rw—-r–rw—xr–
164rw—–w-rw—x-wx
165rw—–w-rw—x-w-
166rw——-rw—x–x
167rw——-rw—x—
170rw—-rw-rw—-rwx
171rw—-rw-rw—-rw-
172rw—-r–rw—-r-x
173rw—-r–rw—-r–
174rw—–w-rw—–wx
175rw—–w-rw—–w-
176rw——-rw——x
177rw——-rw——-
200r–rw-rw-r-xrwxrwx
201r–rw-rw-r-xrwxrw-
202r–rw-r–r-xrwxr-x
203r–rw-r–r-xrwxr–
204r–rw–w-r-xrwx-wx
205r–rw–w-r-xrwx-w-
206r–rw—-r-xrwx–x
207r–rw—-r-xrwx—
210r–rw-rw-r-xrw-rwx
211r–rw-rw-r-xrw-rw-
212r–rw-r–r-xrw-r-x
213r–rw-r–r-xrw-r–
214r–rw–w-r-xrw–wx
215r–rw–w-r-xrw–w-
216r–rw—-r-xrw—x
217r–rw—-r-xrw—-
220r–r–rw-r-xr-xrwx
221r–r–rw-r-xr-xrw-
222r–r–r–r-xr-xr-x
223r–r–r–r-xr-xr–
224r–r—w-r-xr-x-wx
225r–r—w-r-xr-x-w-
226r–r—–r-xr-x–x
227r–r—–r-xr-x—
230r–r–rw-r-xr–rwx
231r–r–rw-r-xr–rw-
232r–r–r–r-xr–r-x
233r–r–r–r-xr–r–
234r–r—w-r-xr—wx
235r–r—w-r-xr—w-
236r–r—–r-xr—-x
237r–r—–r-xr—–
240r—w-rw-r-x-wxrwx
241r—w-rw-r-x-wxrw-
242r—w-r–r-x-wxr-x
243r—w-r–r-x-wxr–
244r—w–w-r-x-wx-wx
245r—w–w-r-x-wx-w-
246r—w—-r-x-wx–x
247r—w—-r-x-wx—
250r—w-rw-r-x-w-rwx
251r—w-rw-r-x-w-rw-
252r—w-r–r-x-w-r-x
253r—w-r–r-x-w-r–
254r—w–w-r-x-w–wx
255r—w–w-r-x-w–w-
256r—w—-r-x-w—x
257r—w—-r-x-w—-
260r—–rw-r-x–xrwx
261r—–rw-r-x–xrw-
262r—–r–r-x–xr-x
263r—–r–r-x–xr–
264r——w-r-x–x-wx
265r——w-r-x–x-w-
266r——–r-x–x–x
267r——–r-x–x—
270r—–rw-r-x—rwx
271r—–rw-r-x—rw-
272r—–r–r-x—r-x
273r—–r–r-x—r–
274r——w-r-x—-wx
275r——w-r-x—-w-
276r——–r-x—–x
277r——–r-x——
300r–rw-rw-r–rwxrwx
301r–rw-rw-r–rwxrw-
302r–rw-r–r–rwxr-x
303r–rw-r–r–rwxr–
304r–rw–w-r–rwx-wx
305r–rw–w-r–rwx-w-
306r–rw—-r–rwx–x
307r–rw—-r–rwx—
310r–rw-rw-r–rw-rwx
311r–rw-rw-r–rw-rw-
312r–rw-r–r–rw-r-x
313r–rw-r–r–rw-r–
314r–rw–w-r–rw–wx
315r–rw–w-r–rw–w-
316r–rw—-r–rw—x
317r–rw—-r–rw—-
320r–r–rw-r–r-xrwx
321r–r–rw-r–r-xrw-
322r–r–r–r–r-xr-x
323r–r–r–r–r-xr–
324r–r—w-r–r-x-wx
325r–r—w-r–r-x-w-
326r–r—–r–r-x–x
327r–r—–r–r-x—
330r–r–rw-r–r–rwx
331r–r–rw-r–r–rw-
332r–r–r–r–r–r-x
333r–r–r–r–r–r–
334r–r—w-r–r—wx
335r–r—w-r–r—w-
336r–r—–r–r—-x
337r–r—–r–r—–
340r—w-rw-r—wxrwx
341r—w-rw-r—wxrw-
342r—w-r–r—wxr-x
343r—w-r–r—wxr–
344r—w–w-r—wx-wx
345r—w–w-r—wx-w-
346r—w—-r—wx–x
347r—w—-r—wx—
350r—w-rw-r—w-rwx
351r—w-rw-r—w-rw-
352r—w-r–r—w-r-x
353r—w-r–r—w-r–
354r—w–w-r—w–wx
355r—w–w-r—w–w-
356r—w—-r—w—x
357r—w—-r—w—-
360r—–rw-r—-xrwx
361r—–rw-r—-xrw-
362r—–r–r—-xr-x
363r—–r–r—-xr–
364r——w-r—-x-wx
365r——w-r—-x-w-
366r——–r—-x–x
367r——–r—-x—
370r—–rw-r—–rwx
371r—–rw-r—–rw-
372r—–r–r—–r-x
373r—–r–r—–r–
374r——w-r——wx
375r——w-r——w-
376r——–r——-x
377r——–r——–
400-w-rw-rw--wxrwxrwx
401-w-rw-rw--wxrwxrw-
402-w-rw-r–-wxrwxr-x
403-w-rw-r–-wxrwxr–
404-w-rw–w--wxrwx-wx
405-w-rw–w--wxrwx-w-
406-w-rw—--wxrwx–x
407-w-rw—--wxrwx—
410-w-rw-rw--wxrw-rwx
411-w-rw-rw--wxrw-rw-
412-w-rw-r–-wxrw-r-x
413-w-rw-r–-wxrw-r–
414-w-rw–w--wxrw–wx
415-w-rw–w--wxrw–w-
416-w-rw—--wxrw—x
417-w-rw—--wxrw—-
420-w-r–rw--wxr-xrwx
421-w-r–rw--wxr-xrw-
422-w-r–r–-wxr-xr-x
423-w-r–r–-wxr-xr–
424-w-r—w--wxr-x-wx
425-w-r—w--wxr-x-w-
426-w-r—–-wxr-x–x
427-w-r—–-wxr-x—
430-w-r–rw--wxr–rwx
431-w-r–rw--wxr–rw-
432-w-r–r–-wxr–r-x
433-w-r–r–-wxr–r–
434-w-r—w--wxr—wx
435-w-r—w--wxr—w-
436-w-r—–-wxr—-x
437-w-r—–-wxr—–
440-w–w-rw--wx-wxrwx
441-w–w-rw--wx-wxrw-
442-w–w-r–-wx-wxr-x
443-w–w-r–-wx-wxr–
444-w–w–w--wx-wx-wx
445-w–w–w--wx-wx-w-
446-w–w—--wx-wx–x
447-w–w—--wx-wx—
450-w–w-rw--wx-w-rwx
451-w–w-rw--wx-w-rw-
452-w–w-r–-wx-w-r-x
453-w–w-r–-wx-w-r–
454-w–w–w--wx-w–wx
455-w–w–w--wx-w–w-
456-w–w—--wx-w—x
457-w–w—--wx-w—-
460-w—-rw--wx–xrwx
461-w—-rw--wx–xrw-
462-w—-r–-wx–xr-x
463-w—-r–-wx–xr–
464-w—–w--wx–x-wx
465-w—–w--wx–x-w-
466-w——--wx–x–x
467-w——--wx–x—
470-w—-rw--wx—rwx
471-w—-rw--wx—rw-
472-w—-r–-wx—r-x
473-w—-r–-wx—r–
474-w—–w--wx—-wx
475-w—–w--wx—-w-
476-w——--wx—–x
477-w——--wx——
500-w-rw-rw--w-rwxrwx
501-w-rw-rw--w-rwxrw-
502-w-rw-r–-w-rwxr-x
503-w-rw-r–-w-rwxr–
504-w-rw–w--w-rwx-wx
505-w-rw–w--w-rwx-w-
506-w-rw—--w-rwx–x
507-w-rw—--w-rwx—
510-w-rw-rw--w-rw-rwx
511-w-rw-rw--w-rw-rw-
512-w-rw-r–-w-rw-r-x
513-w-rw-r–-w-rw-r–
514-w-rw–w--w-rw–wx
515-w-rw–w--w-rw–w-
516-w-rw—--w-rw—x
517-w-rw—--w-rw—-
520-w-r–rw--w-r-xrwx
521-w-r–rw--w-r-xrw-
522-w-r–r–-w-r-xr-x
523-w-r–r–-w-r-xr–
524-w-r—w--w-r-x-wx
525-w-r—w--w-r-x-w-
526-w-r—–-w-r-x–x
527-w-r—–-w-r-x—
530-w-r–rw--w-r–rwx
531-w-r–rw--w-r–rw-
532-w-r–r–-w-r–r-x
533-w-r–r–-w-r–r–
534-w-r—w--w-r—wx
535-w-r—w--w-r—w-
536-w-r—–-w-r—-x
537-w-r—–-w-r—–
540-w–w-rw--w–wxrwx
541-w–w-rw--w–wxrw-
542-w–w-r–-w–wxr-x
543-w–w-r–-w–wxr–
544-w–w–w--w–wx-wx
545-w–w–w--w–wx-w-
546-w–w—--w–wx–x
547-w–w—--w–wx—
550-w–w-rw--w–w-rwx
551-w–w-rw--w–w-rw-
552-w–w-r–-w–w-r-x
553-w–w-r–-w–w-r–
554-w–w–w--w–w–wx
555-w–w–w--w–w–w-
556-w–w—--w–w—x
557-w–w—--w–w—-
560-w—-rw--w—xrwx
561-w—-rw--w—xrw-
562-w—-r–-w—xr-x
563-w—-r–-w—xr–
564-w—–w--w—x-wx
565-w—–w--w—x-w-
566-w——--w—x–x
567-w——--w—x—
570-w—-rw--w—-rwx
571-w—-rw--w—-rw-
572-w—-r–-w—-r-x
573-w—-r–-w—-r–
574-w—–w--w—–wx
575-w—–w--w—–w-
576-w——--w——x
577-w——--w——-
600—rw-rw-–xrwxrwx
601—rw-rw-–xrwxrw-
602—rw-r––xrwxr-x
603—rw-r––xrwxr–
604—rw–w-–xrwx-wx
605—rw–w-–xrwx-w-
606—rw—-–xrwx–x
607—rw—-–xrwx—
610—rw-rw-–xrw-rwx
611—rw-rw-–xrw-rw-
612—rw-r––xrw-r-x
613—rw-r––xrw-r–
614—rw–w-–xrw–wx
615—rw–w-–xrw–w-
616—rw—-–xrw—x
617—rw—-–xrw—-
620—r–rw-–xr-xrwx
621—r–rw-–xr-xrw-
622—r–r––xr-xr-x
623—r–r––xr-xr–
624—r—w-–xr-x-wx
625—r—w-–xr-x-w-
626—r—––xr-x–x
627—r—––xr-x—
630—r–rw-–xr–rwx
631—r–rw-–xr–rw-
632—r–r––xr–r-x
633—r–r––xr–r–
634—r—w-–xr—wx
635—r—w-–xr—w-
636—r—––xr—-x
637—r—––xr—–
640—-w-rw-–x-wxrwx
641—-w-rw-–x-wxrw-
642—-w-r––x-wxr-x
643—-w-r––x-wxr–
644—-w–w-–x-wx-wx
645—-w–w-–x-wx-w-
646—-w—-–x-wx–x
647—-w—-–x-wx—
650—-w-rw-–x-w-rwx
651—-w-rw-–x-w-rw-
652—-w-r––x-w-r-x
653—-w-r––x-w-r–
654—-w–w-–x-w–wx
655—-w–w-–x-w–w-
656—-w—-–x-w—x
657—-w—-–x-w—-
660——rw-–x–xrwx
661——rw-–x–xrw-
662——r––x–xr-x
663——r––x–xr–
664——-w-–x–x-wx
665——-w-–x–x-w-
666———–x–x–x
667———–x–x—
670——rw-–x—rwx
671——rw-–x—rw-
672——r––x—r-x
673——r––x—r–
674——-w-–x—-wx
675——-w-–x—-w-
676———–x—–x
677———–x——
700—rw-rw-—rwxrwx
701—rw-rw-—rwxrw-
702—rw-r–—rwxr-x
703—rw-r–—rwxr–
704—rw–w-—rwx-wx
705—rw–w-—rwx-w-
706—rw—-—rwx–x
707—rw—-—rwx—
710—rw-rw-—rw-rwx
711—rw-rw-—rw-rw-
712—rw-r–—rw-r-x
713—rw-r–—rw-r–
714—rw–w-—rw–wx
715—rw–w-—rw–w-
716—rw—-—rw—x
717—rw—-—rw—-
720—r–rw-—r-xrwx
721—r–rw-—r-xrw-
722—r–r–—r-xr-x
723—r–r–—r-xr–
724—r—w-—r-x-wx
725—r—w-—r-x-w-
726—r—–—r-x–x
727—r—–—r-x—
730—r–rw-—r–rwx
731—r–rw-—r–rw-
732—r–r–—r–r-x
733—r–r–—r–r–
734—r—w-—r—wx
735—r—w-—r—w-
736—r—–—r—-x
737—r—–—r—–
740—-w-rw-—-wxrwx
741—-w-rw-—-wxrw-
742—-w-r–—-wxr-x
743—-w-r–—-wxr–
744—-w–w-—-wx-wx
745—-w–w-—-wx-w-
746—-w—-—-wx–x
747—-w—-—-wx—
750—-w-rw-—-w-rwx
751—-w-rw-—-w-rw-
752—-w-r–—-w-r-x
753—-w-r–—-w-r–
754—-w–w-—-w–wx
755—-w–w-—-w–w-
756—-w—-—-w—x
757—-w—-—-w—-
760——rw-—–xrwx
761——rw-—–xrw-
762——r–—–xr-x
763——r–—–xr–
764——-w-—–x-wx
765——-w-—–x-w-
766————–x–x
767————–x—
770——rw-——rwx
771——rw-——rw-
772——r–——r-x
773——r–——r–
774——-w-——-wx
775——-w-——-w-
776—————–x
777——————
t/uploads/2014/03/penguin-mask.jpg
Penguin Mask. Photo credit: Dan Century