[ad_1]
I need to execute the equivalent of chattr +i myfile.txt
in rust.
Since the call for chmod
is fs::set_permissions()
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?
[ad_2]