By default you're not allowed to edit the root partition. However if you would need to do this, you'll need to enable the debug state. You can do this by editing the /data/etc/os.conf file.
Change the os_debug parameter from false to true. After this you'll need to reboot the system, you'll see that the root partition is editable.