DARWIN_USER_CACHE_DIR permission denied
I don't know how but from today i'm experiencing this problem:
/usr/bin/getconf DARWIN_USER_CACHE_DIR
getconf: confstr: DARWIN_USER_CACHE_DIR: Permission denied
and
/usr/bin/getconf DARWIN_USER_DIR
getconf: confstr: DARWIN_USER_DIR: Permission denied
this one it's ok
/usr/bin/getconf DARWIN_USER_TEMP_DIR
/var/tmp/
I'm stuck, I don't know how to solve this problem.
Osx reinstall or create and using another user are not valid options 😟
MacBook Pro, Mac OS X (10.7.3)