Oracle Solution for Error ora-15094

Solution for Oracle Error ORA-15094

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

What triggered the Error:

The file handle passed to DBMS_DISKGROUP.WRITE() did not have write privileges.

What should we do to fix it:

Obtain a file handle in read-write mode and retry the write operation.