Added option to set security attributes in create_directory.
Authored by: crowbar27 2016-03-08
Parent: [r748]
Child: [r750]