I’m currently using NSFileManager setAttributes to change the permission of a directory. My problem is that it doesn’t appear to do so recursively. Is there any way to force it to do so?
I’m currently using NSFileManager setAttributes to change the permission of a directory. My problem
Share
I don’t think there’s a built-in method to do this, but it shouldn’t be hard to do something like:
This is untested, but should give you a starting point.