Redis Write permission failure

I'm rolling with Redis now, It's like a new bike. It's awesome, but I have a small hickup getting started. I couldn't save anything.

Install under macports.

Bash$ sudo port install redis
Bash$ gem install redis
Bash$ irb
Bash$ > require "redis"
=> "true"
Bash$ > redis = Redis.new
Bash$ > redis.set "foo", "bar"
=> "OK"
Bash$ > redis.save

This is where it bombs, at least on my system. If you're not running your redis-server as root like the write directory assumes in my case, you'll need change it.

Bash$ sudo chown YOURUSERNAME /opt/local/var/db/redis/

Go back and run through the same process either through irb or redis-cli. Same diff.