Probably linux, but it doesn't matter much, it is obvious that is a some kind of unix.
I guess this happens, because C::B's save is not a typical save operation, but a save-to-temp-and-replace operation.
I guess the new file doesn't have the same permissions as the original.