ftruncate can only be called in creator proc. fixes #1