You need to have write permission on files and directories and on their parent directory in order to write to them.

To change the permissions on file or directory, select the icon in an Icon View window and choose “Change Permissions” from the Selected menu. Refer to the Change Permissions tool Help for details.