Matlab on the command line error in Lion
It is reported here, they claimed that the issue is for all version of Matlab on Mac OS X Lion. So I guess you could simply use sudo to get this problem done. And wait with more patient for a fix.