After an administrator runs chattr +a on a log file, the file can only be opened for appending, and the attribute can b…