Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0
-
3
-
8959
Description
Currently with a read only mount, open(2) with O_RDONLY|O_CREAT will fail with -EROFS, no matter the file exists or not.
If the file is already there and we don't need to create the file, we should make the open work.
The gcc-fortran runtime tends to add O_CREAT flag when it's trying to open a file, this prevents us from using the fortran based apps.