two possibile reasons:
1. the file is locked, verify this in the file general info tab and make sure it is not locked.
Right click on the file => Get Info => in the “General” section, make sure the “locked” option is not checked.
2. there is a special case, when your file name contains ‘/’. this will cause the file to be opened as read-only by default (tricky!)