permission base dir