You should start the editor from the Debian chroot terminal (the app with red swirl). That gives you root permissions.