Fix data directory permissions