fix dir rights