Accessing protected resources which are “denied” in Ubuntu/Linux (even with sudo)
Occasionally you may run into resources or places in Linux which are denied (generally for security and data integrity purposes). Which means the system blocks you from traversing to these places, and generally you can not edit anything inside of them. So if that happens, you need to swap over to root.
sudo -i
Then simply do whatever you want. Just remember there is nothing protecting you from absolutely destroying your system at this point.
November 19, 2021