Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
--Apple-Mail=_CB347791-2515-49DA-B930-B709DD527588
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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

--Apple-Mail=_CB347791-2515-49DA-B930-B709DD527588
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQCVAwUBVO3PetZcnpRveo1xAQKA3gP/YkKnEICJuASEc/JHOvRE2Rzo6h1jr1Pf
cdWBCeEQoKoFbSNyx0+09x88cnmoTX9/Tp8mNmcLSiVhF4qOdkusBxAlNsA5oBbl
7mK3k0xDBXTNjyp+129idNOiCOy/GZdj8FvyfDiuGZOr8ha9fJDWRUwizaDV5Qem
Nd3rQCm19mk=
=dqsV
-----END PGP SIGNATURE-----

--Apple-Mail=_CB347791-2515-49DA-B930-B709DD527588--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6676D082-5C06-4E59-B22C-5C00D1FD229F>