upload dire permissions