Permissions and more jail checks