Using umask

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.

read more | digg story

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: