Allow writing to $basedir.