On 2026-04-22 16:52, Pocket wrote:
On 4/22/26 3:30 AM, Łukasz Michalski wrote:
A good practice is to set chattr +i on directories that are mount points for filesystems.

Why would/should I want to do that?
What would be the advantage for doing so?
I ask this because I have not done so since running Linux since 1995.
This is the first time I have seen this recommendation.

A look into `man chattr` will tell you what it does: disallowing changes
to the directory or to files in it, but it doesn’t apply to the mounted
filesystem. Though in this case Lucie mounted a wrong partition, so it
wouldn’t have helped here.

Best,
tippfehlr

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to