Added support for user and group in the creation of the directory