August 28, 2009

bash programming

Hello I am taking a linux scripting class at a community college in FL, and I encounter some difficulties.

I created a direcotry named HW where I have all my homeworks.
Since the last few days, I can not access the content of the HW directory, and I can not write any script using "vi"

When I enter:
cd HW # I get the following message
bash: cd: HW: Permission denied

If I try to write a script using "vi", when I try to save it, I get the message:
"name_of_file" E212: Can't open file for writing.