You do not have permission to chmod the file. On the systems I use only root and the owner of a file can chmod it.
Why chmod the file? Permission to "delete the file" is really permission to remove the directory entry, so it requires write access to the directory, not the file. I suggest you remove the chmod.