Date: Wed, 25 Feb 2015 13:34:52 +0000 From: "Eggert, Lars" <lars@netapp.com> To: "current@freebsd.org" <current@freebsd.org> Subject: FreeBSD FUSE calls truncate() on read-only files Message-ID: <6676D082-5C06-4E59-B22C-5C00D1FD229F@netapp.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQCVAwUBVO3PetZcnpRveo1xAQKA3gP/YkKnEICJuASEc/JHOvRE2Rzo6h1jr1Pf cdWBCeEQoKoFbSNyx0+09x88cnmoTX9/Tp8mNmcLSiVhF4qOdkusBxAlNsA5oBbl 7mK3k0xDBXTNjyp+129idNOiCOy/GZdj8FvyfDiuGZOr8ha9fJDWRUwizaDV5Qem Nd3rQCm19mk= =dqsV -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6676D082-5C06-4E59-B22C-5C00D1FD229F>
