The file already has 777 and still if he is not able to edit the file means that the user trying to edit the file is not having the permission on the folder.
First see in which usergroup you belong...the permissions which u are showing is incomplete..please post the complete string....
The directory or folder inside which you have that file, may not have write permission.You should change the permission for your directory.