question: public void chmodDir ( String permissions , String dir ) { StringBuilder buf = new StringBuilder ( ) ; String command = String . format ( ImageServerDialogProperties . getString ( "cmd.chmodDir" ) , permissions , dir ) ; sendWaitFor ( command , defaultTimeout , prompts , buf ) ; log . debug ( buf . toString ( ) ) ; }
target:  Change permissions on a directory.