check permissions are not set to read only