permissions and errors