My company requires to read/write environment informations under /data/webapps/appenv. Therefore, this workaround shared by a colleague of mine might not answer this question directly, but it is super useful if you want to write something under your root path!
Create a file: sudo vim /etc/synthetic.conf. Write content: /System/Volumes/Data/.
Notice: the is a tab! In my case, it looks like this: data/System/Volumes/Data/data Go to /System/Volumes/Data and do sudo mkdir .
Then do s...
#
bigsur
#
mac
#
montery