You should also check your permissions on the directory. You may have permission to create files but not change them (rename or add to them).