Added support for setting the default file and folder permissions