The numeric representation of rw-r----- is 640. Subtracting this from the defauflt for new files of 666 gives a remainder of 26. To set the system such that all newly created files have these default permissions,
TIP If you try to test the configuration change, note that the profile file is not read until the next time a shell is launched. You won't see anything different in the permissions of newly created files until after you've launched a new shell. To change the permissions on all files currently in the /tmp directory to read-only permissions for all users,
|