> What is the best way to go about this? Currently, I use
> call system("touch foo.bar; chmod u-w foo.bar"). Is there
> anything more elegant or portable?
If I am not mistaken, there is a chmod intrinsic function in g77, but I
think it is not implemented yet in gfortran.
--
FX