News for hackers. Stuff that matters.
Re:Take care editing bash scripts (2019) by photon-torpedo on Wednesday May 06, 2020 @05:42AM (#23089285)
Thanks. Very curious. Indeed if the file is in /tmp, the inode doesn't change. But if it's in my home directory, it does change (for me). Both file systems are ext4, so there's something else at play.
Re:Take care editing bash scripts (2019) by rpra on Friday May 08, 2020 @07:03AM (#23113402)
in /tmp you dont have write permissions (so cannot create a new file, and falls back to overwrite), in home directory you have.