Here's a "way" to get/set folder attributes without a new library. It only uses the Door Library.
It should work in theory. I only managed to Set and Remove the "Hidden" attribute on the test folder on my device, but I couldn't set the folder to ReadOnly manually either so I didn't really test that, so you have to test it on your ReadOnly folder for yourself.