Closed mythi closed 7 months ago
I think you mean files, not attributes (well, attributes from the perspective of configfs). That's an interesting use-case but, IMO, outside the scope of this library.
Yes, files. I can understand the feedback, though
I'm looking to use
tempdir
to handle temporary dirs on Linux configfs that has a property that the kernel handles the file attributes upon rmdir/mkdir.Because of that
remove_dir_all
gets an error from the kernel when it first tries to remove the file attributes and only after that the directory itself.I could workaround this to handle dropping myself but I'd also prefer to rely on the automatic drop from the library.