permissions + shell

this is that the question is asking me:

Make the following three changes to your '.bash_profile' startup file.
Add three new lines to the end of the file, one for each of the following
tasks:

Change your primary prompt to display the name of your current directory,
followed by a colon (:), then followed by a single space.

Add a directory called 'scripts' as the last directory in your path.
'scripts' is a subdirectory of your home directory. (Warning: don't use
single quotes in this command)

Add the command to change default permissions for newly-created files
and directories. Ensure that you have full permissions on newly-created
directories and everybody else has no permissions.

this is what I did

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:$home/scripts
BASH_ENV=$HOME/.bashrc
USERNAME=""
PS1='\u: '
$ umask u=rwx,o=

export USERNAME BASH_ENV PATH

PLEASE HELP!

see man umask for more details [edit] Since umask is a builtin you wont get much with the man page. I suggest you pick up O'Reilly's "Unix In A Nutshell" to better your unix command understanding.

try using the octal values instead. I think they are easier to read in my opinion. Note that when the mode is interpreted as an octal number, each number of the umask is subtracted from 7. Thus, a umask of 022 results in permissions of 755.

umask 022

wait a tick! This is homework! See the rules.....