It happen when I click on test directory in admin > cp > paths then it can turn up
Directory exists but is not writable.
Test failed. Either the directory was not found or cannot be written to by the web server.
and after I cmod the folder 777 it works again and say
Directory exists and is writable.
Test passed.
Still it don't work to attach images with posts