CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
Which command changes file permissions in Linux?
- A.setfacl
- B.chattr
- C.chown
- D.chmod
Why D is correct
'chmod' (change mode) modifies file permissions. It can use octal notation (chmod 755 file) or symbolic notation (chmod u+x file). 'chown' changes ownership, 'chattr' changes extended attributes, and 'setfacl' manages ACLs.
Know someone studying for Security Fundamentals? Send them this one.