rm -rf root permissions denied
A number of things could be wrong here. From my own experience, I recommend checking the directory attributes with the lsattr
utility. Often times I set the immutable bit on files to prevent accidental modification, and to slightly slow down any malicious person from messing with it. If the flag is indeed set, simply remove it: chattr -R -i /var/www
https://unix.stackexchange.com/questions/529579/rm-rf-root-permissions-denied