chattr: Operation not supported while reading flags

When making a file immutable with chattr command, I get the following error

The error was due to the file I was trying to chattr being a symlink, not a real file.

To fix the error, chattr the actual file.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *