fix persmisions as mapping of sqlite db creates the path as root