Hi Paul, > One other possible bug is that the mode could change temporarily and then > spontaneously revert later, because the updated mode was cached but not > committed to stable storage. Filesystem bugs can be nasty.
The S_ISLNK check that you put in bypasses this dark/fuzzy area in the kernel. Therefore I won't check against this possible bug in a unit test. Let the kernel people do this. Bruno