running a funky chmod command recursively on my root dir and then learning how to fix it, probably taught me more about how linux works than any tutorial or article i've ever read.
have fun! break things!
have fun! break things!
There is a time and place for each approach. Recognising which is appropriate for each situation and user is a good skill to cultivate.
I know very little, admittedly, but without telling us how, it’s just a funny anecdote.
I would try to switch user to root and su instead of sudo, but I’m not sure if that would actually work. Would it? Probably not on rootless installs, but I don’t know how many of those systems most folks are able to break in the manner described above.