For all failed directories see if web server user has write permissions into them.
MODx Revo 2.0.0 beta 4
Shameless MODx newbie
I think you may be confusing database privileges with directory and file permissions. Your database access is fine but MODX can’t write to the red-checked directories or files on the drive because they are read-only -- nothing to do with the database (or with XAMPP/MAMP) -- it’s the configuration of your OS. You may have the parent directory set to read-only and that status is being inherited by the files as they are installed. Or maybe there’s a setting that makes all new directories and files read-only.
Anyway, once you’ve cleared the read-only flag on the directories/files, you shouldn’t have any further problems with the install.