On linux, the base permission for a file is 666 and for directories, it is 777. With a umask=022, new files and directories have permissions 644 and 755 respectively.
When I mount a usb drive with umask=022, new files and directories both have permissions 755. Why is that so?
mount
(8)... – Hauke Laging Jun 07 '13 at 07:23