Agreed. I'm still surprised that 2.0.x reportedly does not do this as I
_know_ I wrote the code to follow symlinks for creating a file. It must
have been broken at some point..
Anyway, the check for O_CREAT|O_EXCL makes perfect sense.
> Second, it doesn't follow symlinks on hardlink newnames. It *does*
> follow them on hardlink oldnames. This is the same as Digital Unix 4.0.
Ok. What about mkdir() and friends? mkdir() still follows symlinks and
I've used that to great advantage (fooling installation programs to
install in another place than they thought they would), but whether it is
a feature worth having is unclear. Again, disabling this is just a matter
of changing another 1 to a 0..
Linus