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 8 years ago

kalvdans commented 8 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.