Removed directory permissions + ownership setting to root,so that the wrapper can have a go at them. (from my tests, not setting this at all will still create a usable directory, so no need to set root in stone)