@Waffelson@lemmy.world to linuxmemes@lemmy.world • 6 months ago:wq!lemmy.worldimagemessage-square107fedilinkarrow-up1224
arrow-up1224image:wq!lemmy.world@Waffelson@lemmy.world to linuxmemes@lemmy.world • 6 months agomessage-square107fedilink
minus-square@DocMcStuffin@lemmy.worldlinkfedilink6•6 months agoTry editing a file in /etc as a regular user. It happens sometimes and you really want that warning that the write failed. Anyway, :x is superior. It only writes if there are changes. So, your mtime doesn’t change unnecessarily.
minus-square@carcus@lemmy.mllinkfedilinkEnglish4•6 months agoI’ve had to do forensics on a rogue change. In finding when and who actually changed the file, mtime can help narrow it down when compared with wtmp.
Try editing a file in
/etc
as a regular user. It happens sometimes and you really want that warning that the write failed.Anyway,
:x
is superior. It only writes if there are changes. So, your mtime doesn’t change unnecessarily.wait people care about the mtime?
I’ve had to do forensics on a rogue change. In finding when and who actually changed the file, mtime can help narrow it down when compared with wtmp.