check permittision