Security
An administrator suspects that root cannot edit a configuration file because it was made immutable with chattr. Which check confirms this?
Show the answer
Correct answerA. lsattr shows the letter i in the file's attribute list
AWhy this is right: lsattr reports attributes set with chattr, and i marks the file immutable even to root.
BWhy not this: The letter a marks append-only, which allows adding data, not full immutability.
CWhy not this: A t in ls -l output is the sticky bit on directories, not the immutable attribute.
DWhy not this: getfacl shows access control lists; immutability is a file attribute that ACLs do not show.
lsattr lists ext-family file attributes, and the i flag marks a file as immutable, while a marks append-only. The attributes are set or cleared with chattr, not lsattr, which only reports them.