Using umask

linuxsecurity.com — The umask can be used to control the default file permission on newly-created files. The umask command controls the default file/directory creation mode for newly-created files and directories. It's recommended that you make root's umask 077, which will disable read, write, and execute perms for other users, unless explictly changed using chmod. Aug 14, 2006 View in Crawl 4