added command to setup directory permissions for output files and folders

Can be hooked into the composer installation process or run it manually.