Q: 4
A Linux administrator is trying to remove the ACL from the file /home/user/dat
a. txt but receives the following error message:
Given the following analysis:
Which of the following is causing the error message?
Options
Discussion
D
Seen similar in practice questions, file attributes like immutable can block modification even as root. You need to clear the 'i' bit with chattr first before messing with ACLs. Official guide covers this in the files/directories section. Not 100% but pretty sure D fits here. Anyone else check this against labs?
Seen similar in practice questions, file attributes like immutable can block modification even as root. You need to clear the 'i' bit with chattr first before messing with ACLs. Official guide covers this in the files/directories section. Not 100% but pretty sure D fits here. Anyone else check this against labs?
Yep, D makes sense since the immutable attribute ('i' bit) stops any changes, even by root. You'd need to remove that first with chattr -i. Pretty sure it's not SELinux here.
Seriously, CompTIA loves these trick questions about file attributes. D.
Be respectful. No spam.