Or perhaps it would be more correct to say ...sed is used a lot in scripts to update config.txt.
I would characterise the design of 'sed' to not respect symlinks by default to be a bad choice, poor design, flawed thinking, utterly stupid.sed is used incorrectly in a lot in scripts to update config.txt.
But those who have used 'sudo sed' in their scripts to update 'config.txt' without thinking, without fully understanding the consequences of what they are doing, can't escape blame.
Some might say this is what happens when you allow 'sudo' to become considered as 'please'.
Does Linux not have some way to lock that symlinked file down so it can't be deleted, such that even 'sudo sed' can't replace it ?
Statistics: Posted by hippy — Wed Jan 31, 2024 11:30 am