I would like to prevent one of my root processes from deleting a certain file. So I came across the flock command, it seems to fit my need, but I didn’t get its syntax. If I only indicate a shared lock, it doesn’t work: If I add a timeout parameter, it still doesn’t work: It seems that way, it fits