set permissions to write to importDir