chmod datadir