Issue opening file on NFS read-only mount

Bob Apodaca bob@phxlab.honeywell.com
Thu Nov 14 17:14:00 GMT 2013


On 11/13/2013 07:39 PM, Jerry DeLisle wrote:
> On 11/13/2013 02:53 AM, N.M. Maclaren wrote:
>> Actually, it turns out to be simpler than it looks, at least on my system, and I
>> have created bug 59108. You can show it by (a) seeing that it creates files even
>> with ACTION='READ' (no, I didn't fiddle with STATUS) and (b) fails even when the
>> directory has no write permission.
>>
>> That reminds me that you might be able to make it go away by specifying
>> ACTION='READ',STATUS='OLD', but I regard STATUS with utter loathing. It never
>> has made sense (not even on the systems it was originally misdesigned for), and
>> the best solution is not to set it (except for STATUS='SCRATCH').
>>
> I should have been clearer in my previous post which suggested this.
>
> Bob,
>
> Please try ACTION='READ',STATUS='OLD' .  If it solves the problem, then it does
> what I expect.
>
> (I have already looked at the relevant libgfortran code involved here.)
>
> Thanks,
>
> Jerry
Jerry,

Your suspicions were correct, it worked!  Thank you for your efforts.

Bob



More information about the Fortran mailing list