Bounty: 50
How can we lock a symlink so it cannot be deleted?
With a normal file/directory chattr +i /file/location
can achieve this but doing so with a symlink we get chattr: Operation not supported while reading flags on my-file
.
There is a similar question, How to set chattr +i
for my /etc/resolv.conf
?, but without a solution that could be applied here.