Exit emacs, remove ~/.semanticdb
& start again - the directory will be recreated & files will be reparsed. It looks like, you run emacs as root.
Or you can simply change permissions with chown -R <your id> ~/.semanticdb
and chmod -R a-w,u+wr ~/.semanticdb