FreeBSD FUSE calls truncate() on read-only files

Eggert, Lars lars at netapp.com
Wed Feb 25 13:40:28 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150225/96acaf50/attachment.sig>


More information about the freebsd-current mailing list