Grant permissions to last_picture_cache too
[pr0n] / sql /
drwxr-xr-x   ..
-rw-r--r-- 2527 pr0n.sql