treemkdir — Makes a descending tree of directories (equivalent to the mkdir -p command) which includes calls to setgroupperms.
use Wacs;
treemkdir( | ...) ; |
parameter | description |
---|---|
origin | The toplevel directory from which to start - this is required to already exist. |
path | The path below the toplevel directory given above to be created (or partially created as necessary) |
The treemkdir
function is the equivalent of
the -p option to the mkdir command which is not supported
by the internal mkdir call of perl. It makes each element of the path
it is asked to make if it does not already exist. This is part of the
effort to reduce the dependency on the system call to unix shell commands
within WACS. Each directory created has it's permissions set using
setgroupperms
.