A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

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.

Click Here!