FreeBSD FUSE calls truncate() on read-only files

From: Eggert, Lars <lars_at_netapp.com>
Date: Wed, 25 Feb 2015 13:34:52 +0000
Hi,

this came up when trying to port tup (https://github.com/gittup/tup) to FreeBSD.

Even though we are opening the file read-only with cat, FUSE calls truncate() on it, which modifies its mtime and this screws up tup. See https://github.com/gittup/tup/issues/198

Anyone know why FreeBSD's FUSE is doing this?

Thanks,
Lars

Received on Wed Feb 25 2015 - 12:40:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC