How to modify /system/priv-app in Android 10?
You need to remount the partition as read-write. mount -wo remount / (change / to /system if you don't have system root enabled in my app). It should work then, though if not you probably have a read only filesystem like EROFS