tmullins / hdf5oct

A library for reading hdf5 files with GNU Octave
Other
9 stars 19 forks source link

Open files in read-only mode when they should only be read from. #11

Open kalvdans opened 7 years ago

kalvdans commented 7 years ago

When using h5read on a readonly file, octave complains:

error: Opening the file failed, /path/to/file.hdf5: Permission denied

The suggested patch makes h5read accept read-only files without errors.