Solaris operating system does not have chattr, it uses chmod instead. Also on Windows. Because when you're changing attributes of a file you're changing what you or other users can do with it, thus the meaning of chmod.
So do we really need chattr? and how is it different to chmod?
chattris more powerful thanchmod: chmod does not always have a method to set "immutable". – Rinzwind Feb 16 '18 at 10:36