public function folderChmod(ConsoleIo $io, $path, $chmod = 0777)
    {
        if (!(new Folder())->chmod($path, $chmod, true)) {
            $io->error(__d('me_tools', 'Failed to set permissions on `{0}`', rtr($path)));

            return false;
        }

        $io->verbose(__d('me_tools', 'Setted permissions on `{0}`', rtr($path)));

        return true;
    }
public function folderChmod(ConsoleIo $io, $path, $chmod = 0777)
    {
        if (!(new Folder())->chmod($path, $chmod, true)) {
            $io->error(__d('me_tools', 'Failed to set permissions on `{0}`', rtr($path)));

            return false;
        }

        $io->verbose(__d('me_tools', 'Setted permissions on `{0}`', rtr($path)));

        return true;
    }
public function folderChmod ( ConsoleIo $ io , $ path , $ chmod = 0777 ) { if ( ! ( new Folder ( ) ) -> chmod ( $ path , $ chmod , true ) ) { $ io -> error ( __d ( 'me_tools' , 'Failed to set permissions on `{0}`' , rtr ( $ path ) ) ) ; return false ; } $ io -> verbose ( __d ( 'me_tools' , 'Setted permissions on `{0}`' , rtr ( $ path ) ) ) ; return true ; }
Sets folder chmods.

This method applies permissions recursively.
@param ConsoleIo $io The console io
@param string $path Folder path
@param int $chmod Chmod
@return bool
Sets folder chmods .