Revert "Permissions stuff"

This reverts commit e1fe6ae428f2fcc5f527fc778b8d0090538b916b.