Do chown
/ chmod
wordpress folder:
$ sudo chown -R :_www wordpress
$ sudo chmod -R g+w wordpress
Add the following line into wp-config.php
:
define('FS_METHOD', 'direct');
Source: http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/
Most of the people recommend to set only the file permissions correctly and don't mention the define constant in config file which is also important.
thanks for sharing! :)