I need to execute the equivalent of
chattr +i myfile.txt in rust.
Since the call for
I was expecting something like
fs::set_attributes() to also exists, but I cannot find it in the docs.
Is there an std function to set (linux) file attributes?
Leave an answer