Oracle Message ORA-15094 - attempted to write to file opened in read only mode

ERRORattempted to write to file opened in read only mode
CAUSEThe file handle passed to DBMS_DISKGROUP.WRITE() did not have write privileges.
ACTIONObtain a file handle in read-write mode and retry the write operation.