I type the umask command in linux shell and it returns 002 as output. I know what for umask command used. But what 002 represents. please help me asked Oct 14, 2013 at 5:56 Sri HarshaSri Harsha6432 gold badges8 silver badges19 bronze badges 1 It shows the default permission levels by which a file will be created. Subtracting umask from base permission would give you actual file permissions. All the files will be created with 664 (666-002) permissions and dir with 775 (777-002) permissions. answered Oct 14, 2013 at 6:02 cppcodercppcoder23.1k7 gold badges61 silver badges88 bronze badges 2 It means that files created will not be world-writable by default. answered Oct 14, 2013 at 6:02